将pem证书转换成pkcs12
openssl pkcs12 -export -out Cert.p12 -in cert.pem -inkey key.pem -passin pass:root -passout pass:root
openssl pkcs12 -export -out cert.p12 -inkey privkey1.pem -in cert1.crt
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
评论已关闭