将 CERT/PEM 证书转换为 PFX 证书 [英] Convert a CERT/PEM certificate to a PFX certificate
本文介绍了将 CERT/PEM 证书转换为 PFX 证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I've seen a couple questions about how to convert a PFX to a cert file, but I need to go the other way.
I have two files:
bob_cert.cert
bob_key.pem
I'd like to convert them to a single .pfx file. Is there a tool that does this?
解决方案
openssl pkcs12 -inkey bob_key.pem -in bob_cert.cert -export -out bob_pfx.pfx
这篇关于将 CERT/PEM 证书转换为 PFX 证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文