Convert the Certificate in keystore format to PFS format using jks2pfx (including the key and certificate form)

Source: Internet
Author: User
Use the OpenSSL Certificate Format tool written in Java as follows: the Java keystore file is converted to the Microsoft. pfx file and the OpenSSL PEM file (. Key +. CRT)
Running Mode:
Jks2pfx <keystore File> <keystore password> <alias> <Export File Name> [Java runtime Directory]
The Java runtimecontents refer to the directories 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
? Note that the alias must be written to the correct key, and the encryption key of the private key must also be lost. Otherwise, an error will be exported.

Convert the Certificate in keystore format to PFS format using jks2pfx (including the key and certificate form)

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.