hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Wild <tim.w...@solnetsolutions.co.nz>
Subject Re: SSL and server using self-signed certificate
Date Wed, 07 Jul 2004 21:05:20 GMT
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.


Andre-John Mas wrote:

>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

To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

View raw message