Tomcat keytool to generate .keystore
To install and configure SSL support on Tomcat 5, you need to follow these simple steps. For more information, read the rest of this HOW-TO.
- Create a certificate keystore by executing the following command:Windows:




%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA




Unix:




$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA




and specify a password value of “changeit”.
- Uncomment the “SSL HTTP/1.1 Connector” entry in
$CATALINA_HOME/conf/server.xmland tweak as necessary.
