crt格式证书转换为pem格式


一句话搞定:

openssl x509 -in mycert.crt -out mycert.pem -outform PEM