Further to earlier comments, here's the command line I use to import the cert into my keystore. You need to be in your JAVA_HOME/jre/lib/security directory when you run this command.

keytool -import -trustcacerts -file <certificat_name> -keystore .\cacerts -alias 
<alias-name>


Hope this helps.

Tim

Andre-John Mas wrote:

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




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to