This procedure describes how to import your own certificate (from a certified CA) into the default Tomcat keystore.
NOTE: This procedure is not for replacing the default keystore itself, but applies only the certificate in the default keystore.
To replace the certificate in the default keystore:
"keytool -delete -keystore <KEYSTORE_HOME>\tomcat.keystore -alias tomcat"
"keytool -import -alias <root CA alias> -trustcacerts -file <path to root CA certificate> -keystore <KEYSTORE_HOME>\tomcat.keystore"
"keytool -import -alias <intermediate CA alias> -trustcacerts -file <path to intermediate CA certificate> -keystore <KEYSTORE_HOME>\tomcat.keystore"
"keytool -import -alias tomcat -trustcacerts -file <path to end user certificate> -keystore <KEYSTORE_HOME>\tomcat.keystore"
Parent Topic |