The SSL Certificate of Tomcat is saved in the Java keystore file. Download The jks2pfx Conversion Tool.
Http://www.myssl.cn/download/jks2pfx.zip
Unbind the compressed package to the C: \ jks2pfx directory and run the following command:
Jks2pfx <keystore File> <keystore password> <alias> <Export File Name> [Java runtime Directory]
Keystore file: indicates the file in which Tomcat saves the SSL certificate.
Keystore password: Password corresponding to the keystore File
Alias alias: the alias used when the certificate CSR is generated
Export File Name: name of the file to be exported (without the extension)
Java runtime directory (optional): indicates the directory containing java.exeand keytool.exe, for example, C: \ progra ~ 1 \ Java \ jre1.5.0 _ 06 \ bin
For example:
Jks2pfx server. jks 123456 Tomcat exportfile c: \ progra ~ 1 \ Java \ jre1.5.0 _ 06 \ bin
Export the SSL Certificate alias tomcat in server. jks. After running, three files, exportfile. Key, exportfile. CRT, and exportfile. pfx, are generated.
Exportfile. pfx can be imported to Microsoft IIS.
Exportfile. Key and exportfile. CRT can be used in systems compatible with Apache or OpenSSL.