GeeCON Prague 2014*
The moose likes Other JSE/JEE APIs and the fly likes JSSE/SSL with Applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JSSE/SSL with Applets" Watch "JSSE/SSL with Applets" New topic
Author

JSSE/SSL with Applets

Ravi Kumarasinghe
Greenhorn

Joined: Jun 07, 2001
Posts: 6
I have SSL enabled apache/tomcat server running on linux and I have a static applet (client) which uses a URL connections to servlets in the server to get data. Since this is a SSL conncetion a security certificate copy had to be imported from the server to the client.
When I import it to a keystore and specify keystore by setting a system property for the ssl truststore it works with the appletviewer. However when loading the applet with the MicroSoft Internet Explorer(IE) browser this want work.
I created a certificate for the client with .cer extention and imported it to IE. Now it gives an SSLException stating "Untrusted server cert chain"
If some one have any idea about this problem please help me
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
There's a long thread about this exception at http://forum.java.sun.com/thread.jsp?forum=9&thread=14884
 
GeeCON Prague 2014
 
subject: JSSE/SSL with Applets