tomcat-ssl

Tomcat does not take the cert path in the config file (server.xml)

It needs the certs to be in the default keystore (.keystore)

Create a new blank JKS KeyStore

keytool -genkey -alias alice -keystore alice.jks

Covnert the PKCS12 format keystore into a JKS format for Tomcat

keytool -v -importkeystore -srckeystore alice.p12 -srcstoretype PKCS12 -destkeystore truststore.jks -deststoretype JKS

The KeyStore password and The Key password should be the same

http://karim-ouda.blogspot.com/2010/07/errors-solutions-5.html
http://www.webfarmr.eu/2010/04/import-pkcs12-private-keys-into-jks-keystores-using-java-keytool/

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License