Hi,

I generated a new certificate according to 
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

First step:
keytool -genkey -alias tomcat -keyalg RSA -keystore /usr/local/tomcat/.keystore

Second step:

in servers.xml:

<Connector protocol="org.apache.coyote.http11.Http11Protocol"
           port="8443" minSpareThreads="5" maxSpareThreads="75"
           enableLookups="true" disableUploadTimeout="true"
           acceptCount="100"  maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="/usr/local/tomcat/.keystore" keystorePass="password"
           clientAuth="false" sslProtocol="TLS"/>


I am getting an error that the certificate is not valid when I access the https 
URL:

The error message is: uses an invalid security certificate


When I list the certificate:

Valid from: Wed May 06 11:52:13 MEST 2009 until: Tue Aug 04 11:52:13 MEST 2009

Can you please shed some light on this?

thanks





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to