Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleCreate self-signed certificate
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore ${CATALINA_HOME}/.keystore

After running this command you will be prompted for the key password, then a .keystore file will be generated on {CATALINA_HOME} folder.  You will need to edit ${CATALINA_HOME}/conf/sever.xml in order to enable the SSL connector.  The keystorePass must be the same that you used when the .keystore was generated 

...