Andre

This is a very common problem. Please consult 'Customizing SSL' section of the 
HttpClient SSL guide for details on how the problem can be resolved

http://jakarta.apache.org/commons/httpclient/sslguide.html

Oleg


-----Original Message-----
From: Andre-John Mas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 16:01
To: [EMAIL PROTECTED]
Subject: SSL and server using self-signed certificate


Hi,

I have set up a Tomcat 4.1 server to use SSL, with the help of a self-certified
certificate, ie with no trusted third party certifying it. I now try getting
my client, which uses 'commons-httpclient-2.0-rc2' to connect. When I do,
I get the following exception:

  sun.security.validator.ValidatorException: No trusted certificate found

Is there a way to get self-certified certifcates to be automatically trusted.
I must admit I am a newbie when it comes to SSL, so any help would be very much
appreciated.

regards

Andre


***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access 
to this email by anyone other than the intended addressee is unauthorized.  If you are 
not the intended recipient of this message, any review, disclosure, copying, 
distribution, retention, or any action taken or omitted to be taken in reliance on it 
is prohibited and may be unlawful.  If you are not the intended recipient, please 
reply to or forward a copy of this message to the sender and delete the message, any 
attachments, and any copies thereof from your system.
***************************************************************************************************

Reply via email to