You are missing 'keystoreFile="/path/to/servercerts.ks"' in the Factory element.
"Bruno Morin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I tried to configure Tomcat 4.1.27 with SSL > > I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in > JAVA_HOME/jre/lib/ext/ > I had "security.provider.3=com.sun.net.ssl.internal.ssl.Provider" in > JAVA_HOME/jre/lib/ext/java.security > > > Then I generate a certificate whith those instructions : > keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks > keytool -export -rfc -alias server -keystore servercerts.ks -file > server.cert > keytool -import -file server.cert -keystore client.ks > and put servercerts.ks in CATALINA_HOME > > > Then I modified the connector in CATALINA_HOME/conf/server.xml like this : > <Connector className="org.apache.catalina.connector.http.HttpConnector" > > port="8443" minProcessors="5" maxProcessors="75" > > enableLookups="true" acceptCount="10" debug="0" scheme="https" > secure="true"> > > <Factory className="org.apache.catalina.net.SSLServerSocketFactory" > > clientAuth="false" > > protocol="TLS" > > keystorePass="serverpassword"/> > > </Connector> > > > Then I lauched the server but it crash on start-up with the exception : > java.io.IOException: Keystore was tampered with, or password was incorrect > > What's wrong ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
