wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSSE with Applets
 
Similar Threads
Signed Applets - Automatically update Keystore
Applets, SSL Sockets, and Certificates
mutual authentication won't work
JSSE/SSL with Applets
Certificate chaining error: issuer DN != subject DN