469,302 Members | 2,087 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,302 developers. It's quick & easy.

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

41
Hi ,

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

Has anyone any ideas why i am getting this error ..
Thanksyour help much appreciated !
Nov 12 '07 #1
4 14371
r035198x
13,262 8TB
Hi ,

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

Has anyone any ideas why i am getting this error ..
Thanksyour help much appreciated !
When do you get this exception?
Nov 12 '07 #2
nano2
41
When do you get this exception?
At runtime .... It looks like i missing the jsse.jar
Nov 12 '07 #3
r035198x
13,262 8TB
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.
Nov 12 '07 #4
nano2
41
I am trying to bring up a server that is doing some Authentication using the following class implementations

import java.security.KeyStore;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

import javax.net.ssl.TrustManager;
import javax.net.ssl.TrustManagerFactory;
import javax.net.ssl.X509TrustManager;

it falls over on managerFactory.init(keystore); where
managerFactory = TrustManagerFactory.getInstance("SunX509", "SunJSSE")

keystore = KeyStore.getInstance(KeyStore.getDefaultType());
keystore.load(null);

Thanks
Nov 12 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by spamfurnace | last post: by
11 posts views Thread by jobs239 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.