Re: SSL and server using self-signed certificate

2004-07-07 Thread Oleg Kalnichevski
Folks, The good thing about EasySSLProtocolSocketFactory is that its trust manager does not require a custom truststore at all. It basically trusts any certificate whose certificate chain contains only one entry, that is the certificate itself, and delegates the verification of all other certificat

Re: SSL and server using self-signed certificate

2004-07-07 Thread Tim Wild
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 -keystore .\cacerts -alias Hope this helps. Tim Andre-John Mas wrote: Hi,

Re: SSL and server using self-signed certificate

2004-07-07 Thread Eric Johnson
Andre, At a quick glance, it appears that there is one problem that I've experienced that the SSL guide doesn't seem to cover. Presumably, once you've created your self-certified certificate, you added it to your JVM's cacerts file using the keytool? I've found that a self-signed certificate

RE: SSL and server using self-signed certificate

2004-07-07 Thread Kalnichevski, Oleg
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,

SSL and server using self-signed certificate

2004-07-07 Thread Andre-John Mas
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.Valida