触点数字孪生,揭秘它的独特魅力
643
2022-09-13
openssl证书转换
在Windows服务器上打开certnew.cer证书,然后导出为.p7b类型,生成一个cer2p7b.pfx文件
将certnew.cer和cer2p7b.pfx 都上传到linux服务器,然后进行如下操作:
openssl x509 -inform der -in certnew.cer -out cer_mail.pem #导出证书,不包含私钥openssl pkcs12 -in cer2p7b.pfx -nocerts -nodes -out cer_mail_private.key #导出私钥cat cer_mail.pem cer_mail_private.key >cert_mail.pem #合成包含私钥的pem证书
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。