(Click to open topic with navigation)
After creating the certificate, you must export it to make it ready for importing into the local keystore.
To export for local keystore import
$JAVA_HOME/bin/keytool -export -alias tomcat -file file.cer
$JAVA_HOME/bin/keytool -import -alias tomcat -file file.cer -keystore $JAVA_HOME/lib/security/cacerts
Related topics