openssl命令将cer格式转换crt
如下两种方式进行尝试转换
openssl x509 -inform DER -in certificate.cer -out certificate.crt
openssl x509 -inform PEM -in certificate.cer -out certificate.crt
openssl命令将pfx格式转换key
openssl pkcs12 -in certificate.pfx -nocerts -nodes -out certificate.key