0

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

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

1 回答 1

2
$ certtool --load-certificate certificate.pem --load-privkey certificate.pem --to-p12 --outder --outfile certificate.pfx
于 2015-07-27T21:29:15.967 回答