使用 openssl 从cer公钥证书中导出公钥pem
----------
"der 公钥证书"转 "base64 公钥证书"
openssl x509 -inform der -in z11.cer -out z11.pem
从 "DER 公钥证书"中导出"公钥"
openssl x509 -inform der -in z11.cer -pubkey -noout > zpublickey.pem
从"BASE64 公钥证书"中导出"公钥"
openssl x509 -in z11.pem -pubkey -noout > publickey.pem
--------------
标签:公钥,证书,openssl,z11,pem,cer From: https://www.cnblogs.com/runliuv/p/17867945.html