convert-pem-to-pfx

https://support.servertastic.com/knowledgebase/article/convert-pem-to-pfx

Your generated CSR (cert.csr)
Your Private Key File (key.pem)
Your SSL certificate provided by the CA (cert.cer)
The Intermediate Certificate provided by the CA (CA.cer)

1
openssl pkcs12 -export -in cert.cer -inkey key.pem -out certificate.pfx -certfile CA.cer

let 上的实践

先把fullchain.pem分解为两个,对应该上面的 cert.cer与ca.cert
privkey.pem不变,对应上面的key.pem

按命令执行

打印输出
openssl x509 -in cert.pem -noout -text


convert-pem-to-pfx
https://blog.fengcl.com/2018/10/12/convert-pem-to-pfx/
作者
frank
发布于
2018年10月12日
许可协议