Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

JSSE/SSL with Applets

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's a long thread about this exception at http://forum.java.sun.com/thread.jsp?forum=9&thread=14884
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic