How to transfer the SSL Certificate of Tomcat to IIS or Apache

Source: Internet
Author: User
Tags ssl certificate microsoft iis

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.