SSL Wildcard certificate import in tomcat
Posted on 2010-09-13
I have a question regarding importing an existing SSL wildcard certificate into my tomcat keystore.
I have generated a wildcard certificate with IIS7.5 and exported it (with private key) to a .pfx file. Can I use this with my tomcat installation and if so how can I import it into my keystore.
If this cannot be accomplished I have a second question: How can I export an existing certificate from the tomcat keystore to a .pfx or .crt file WITH private key without deleting it from the keystore.
I tried “keytool –export –keystore keys.jks –alias tomcat – file c:\cert.crt” but the It doesn’t export my private key.