pem转换为cer
1.cd到pem证书所在的位置
2.输入此命令即可:openssl x509 -inform pem -in cacert.pem -outform der -out cacert.cer
crt转换为pem
openssl x509 -in cacert.crt -out cacert.pem
crt转换为cer
openssl x509 -in cacert.crt -out cacert.cer -outform der
pem转换为cer
1.cd到pem证书所在的位置
2.输入此命令即可:openssl x509 -inform pem -in cacert.pem -outform der -out cacert.cer
crt转换为pem
openssl x509 -in cacert.crt -out cacert.pem
crt转换为cer
openssl x509 -in cacert.crt -out cacert.cer -outform der