利用openssl完成X509证书和PFX证书之间的互转 - XiZi's Blog

利用openssl完成X509证书和PFX证书之间的互转

Xizi posted @ 2012年7月02日 20:35 in 未分类 with tags 转换 证书 PFX X509 OpenSSL , 17661 阅读
完成两种格式的数字证书的互转,只需要几条openssl的命令,很方便。

1.将X509格式的数字证书转换成微软的PFX格式
 openssl pkcs12 -export -inkey server.key -in server.crt -out server.pfx
2.将微软的PFX数字证书转换成X509格式
 openssl pkcs12 -in server.pfx -nodes -out server.pem # 生成明文所有内容
 openssl rsa -in server.pem -out server.key # 取 key 文件
 openssl x509 -in server.pem -out server.crt # 取证书

 

Avatar_small
Harry 说:
2021年12月16日 03:53

Very neat blog. Thanks Again. Really Great. 어벤져스카지노 이벤트

Avatar_small
Harry 说:
2022年1月15日 23:50

I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. best online ip tracker

Avatar_small
Robert Lee 说:
2022年1月22日 00:46

I found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information. spbo indonesia

Avatar_small
faddy 说:
2022年5月13日 23:28

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. echat

Avatar_small
JACK 说:
2022年6月13日 05:28

ink cartridges canada MVP Ink & Office is a one-stop online shop that provides the best Canadian-made print products. We provide printer inks, toner cartridges, ... https://mvpinkandoffice.com/

Avatar_small
DDD 说:
2022年8月10日 04:07

I’ve been following your web site for some time now and finally, I decided to write this post in order to thank you for providing us such a fine content!!!Ukiyo Kumo Review

Avatar_small
charlly 说:
2022年12月28日 20:28

Different certificate types, however, have neither benefits nor drawbacks. The format requirements for the application employing the certificate will determine everything. When converting PFX to PEM format, OpenSSL will amalgamate all of the Certificates and Private Keys into a single file. engagement rings You must copy each Certificate and Private key to its own text file after opening the file in a text editor.

Avatar_small
seo service UK 说:
2024年1月15日 22:19

Thanks for sharing this product with us I have bookmarked it and I will share it more and I hope it will be beneficial for you.Regards

Avatar_small
z-library project 说:
2024年3月15日 12:46

Developing digital literacy skills Libraries can provide programs to bridge the digital divide, ensuring everyone has the ability to navigate online resources effectively.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee