This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes SSL Connection in iPlanet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "SSL Connection in iPlanet" Watch "SSL Connection in iPlanet" New topic
Author

SSL Connection in iPlanet

rkumar007
Greenhorn

Joined: Oct 09, 2002
Posts: 1
I am getting following exception when I am trying to make the connection to a secure site using a servlet. I am using iplanet web server/app server and connecting to an external site which is on https.

javax.net.ssl.SSLException: untrusted server cert chain
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
"rkumar007", please check out our naming policy and amend your display name accordingly. Thanks.
What this means is that the site certificate is not signed by a trusted CA (Certificate Authority) such as VeriSign or Thawte. Does a browser such as Internet Explorer issue a warning for the site? If so, it simply does not have a bona fide certificate. If not, then it is probably the fact that IE/NS/etc ship with many more trusted CA certificates than the Sun JDK; you could try adding the appropriate CA by exporting its certificate from your browser and using keytool to import it into jre/lib/security/cacerts (assuming that iPlanet does not force another cacerts file).
- Peter
[ October 10, 2002: Message edited by: Peter den Haan ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SSL Connection in iPlanet
 
Similar Threads
iplanet unable to establish t3 connection with weblogic4.5.1
Produce image dynamicly by servlet
session time out for EJB's..
creation of different context in weblogic
iplanet unable to lookup EJB in weblogic4.5.1