Quote:
Originally Posted by gmsmith What steps did you use to extract your cert and private key from the keystore? |
To extract the cert:
Code:
keytool -keystore commercial.keystore -export -alias tomcat -file exported.crt
openssl x509 -out commercial.crt -outform pem -text -in exported.crt -inform der
To extract the key (You want to use the old version of ExportPriv.java, the new one doesn't wrap the base64 in a way zmcertmgr can handle):
Code:
curl http://mark.foster.cc/pub/java/ExportPriv.old.java > ExportPriv.java
javac ExportPriv.java
java ExportPriv commercial.keystore tomcat zimbra >commercial.key