[Original] technology sharing: Using OpenSSL to convert a pfx certificate to a pem Certificate

Source: Internet
Author: User
Tags pkcs12 pfx file

Solution:
Use OpenSSL to convert a pfx certificate to a PRM Certificate
This is a problem encountered when making bank payment. The other bank gave the pfx certificate. From the browser.
Convert to PEM.
1. Open the Browser Internet option, select the content, and click the certificate

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/BA/wKiom1QZebfxWcLzAALgC8hvHZc570.jpg "style =" float: none; "Title =" 1.png" alt = "wkiom1qzebfxwclzaalgc8hvhz1_0.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/BC/wKioL1QZec_Cb9-EAAOFWJVWjsg946.jpg "style =" float: none; "Title =" 2.png" alt = "wKioL1QZec_Cb9-EAAOFWJVWjsg946.jpg"/>



2 View
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/BC/wKioL1QZegqg3FQBAABZ5gw0HN4736.jpg "Title =" 3.png" alt = "wkiol1qzegqg3fqbaabz5gw0hn4736.jpg"/> 3 Export

4. Enter the password. Remember to use it when using the certificate and conversion.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/BC/wKioL1QZehew9ofaAADSewsKtJo234.jpg "Title =" 4.png" alt = "wkiol1qzehew9ofaaadsewsktjo234.jpg"/>

5. Yes. The exported pfx file must be an opensll-mounted machine in Linux.
Run the following command:
OpenSSL PKCS12-in test. pfx-clcerts-nokeys-out cert. pem may require a password. The password here is the password entered in Step 4 above.
OpenSSL PKCS12-in test. pfx-nocerts-out key. pem generate key. pem


Main Site: www.iyyong.com

Public Account: hd_weidao.

This article is from the "poweredbytian 'blog" blog, please be sure to keep this source http://poweredbytian.blog.51cto.com/1655513/1554486

[Original] technology sharing: Using OpenSSL to convert a pfx certificate to a pem Certificate

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.