📌  相关文章
📜  如何从 pfx 中提取密钥和证书 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:06.936000             🧑  作者: Mango

代码示例1
# enter password and pass phrase used to encrypt when prompted
openssl pkcs12 -in [yourfile.pfx] -nocerts -out [cert_encr.key]
openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [cert.crt]
# decrypt the key file
openssl rsa -in [cert_encr.key] -out [cert.key]