This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes JSSE with Applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "JSSE with Applets" Watch "JSSE with Applets" New topic
Author

JSSE 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSSE with Applets