.pem证书转.cer证书
openssl x509 -outform der -in demo.pem -out demo.cer
.cer证书转.pem证书
openssl x509 -inform der -in demo.cer -out demo.pem