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