"java.security.NoSuchProviderException: no such provider: SunJSSE"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nano2
    New Member
    • Jan 2007
    • 41

    "java.security.NoSuchProviderException: no such provider: SunJSSE"

    Hi ,

    I am getting the following error when using java version 1.5
    "java.security. NoSuchProviderE xception: no such provider: SunJSSE"

    Has anyone any ideas why i am getting this error ..
    Thanksyour help much appreciated !
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by nano2
    Hi ,

    I am getting the following error when using java version 1.5
    "java.security. NoSuchProviderE xception: no such provider: SunJSSE"

    Has anyone any ideas why i am getting this error ..
    Thanksyour help much appreciated !
    When do you get this exception?

    Comment

    • nano2
      New Member
      • Jan 2007
      • 41

      #3
      Originally posted by r035198x
      When do you get this exception?
      At runtime .... It looks like i missing the jsse.jar

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by nano2
        At runtime .... It looks like i missing the jsse.jar
        Obviously exceptions are thrown at run time.
        I meant what is your application supposed to be doing and at which point in your code the exception is thrown?
        JSSE has been included in J2SE since 1.4 so it should be available.

        Comment

        • nano2
          New Member
          • Jan 2007
          • 41

          #5
          I am trying to bring up a server that is doing some Authentication using the following class implementations

          import java.security.K eyStore;
          import java.security.c ert.Certificate Exception;
          import java.security.c ert.X509Certifi cate;

          import javax.net.ssl.T rustManager;
          import javax.net.ssl.T rustManagerFact ory;
          import javax.net.ssl.X 509TrustManager ;

          it falls over on managerFactory. init(keystore); where
          managerFactory = TrustManagerFac tory.getInstanc e("SunX509", "SunJSSE")

          keystore = KeyStore.getIns tance(KeyStore. getDefaultType( ));
          keystore.load(n ull);

          Thanks

          Comment

          Working...