To setup your java keystore, you’ll want to run through the following exercise on your system (note: these instructions are for windows):
%JAVA_HOME%binkeytool -genkey -alias tomcat -keyalg RSA -keystore /path/to/my/keystore (note: remember what you set the keystore password to)
- Resart Tomcat
You’ll want to modify your <tomcat dir>confserver.xml file to change the value of the keystore password to whatever you set above. (hint: search for: keystorepass)
Also, make sure that the .keystore is put in the right spot (<tomcat dir>confssl).