我想使用GnuTLS certtool将PEM公钥和私钥转换为PKCS12 pfx包 . 我没有在目标系统上使用openssl . openssl的等效命令是:
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
$ certtool --load-certificate certificate.pem --load-privkey certificate.pem --to-p12 --outder --outfile certificate.pfx
1 回答