1、OpenSSL之命令详解 https://blog.51cto.com/shjia/1427138
openssl用法详解 https://www.cnblogs.com/yangxiaolan/p/6256838.html
https://www.cnblogs.com/f-ck-need-u/category/912772.html 重点
使用 openssl 从 pfx 证书中提取密钥对(需要用到密码):
- 提取密钥对
openssl pkcs12 -in xxx.pfx -nocerts -nodes -out private.key - 从密钥中提取私钥
openssl rsa -in private.key -out private.pem - 从私钥中提取公钥
openssl rsa -in private.pem -pubout -out public.pem