471,829 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,829 software developers and data experts.

"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 14957
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
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.