首页 文章

如何使用GnuTLS将PEM证书转换为PKCS12

提问于
浏览
0

我想使用GnuTLS certtool将PEM公钥和私钥转换为PKCS12 pfx包 . 我没有在目标系统上使用openssl . openssl的等效命令是:

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

1 回答

  • 0
    $ certtool --load-certificate certificate.pem --load-privkey certificate.pem --to-p12 --outder --outfile certificate.pfx
    

相关问题