openssl的使用

1、OpenSSL之命令详解 https://blog.51cto.com/shjia/1427138
openssl用法详解 https://www.cnblogs.com/yangxiaolan/p/6256838.html

2、https://www.cnblogs.com/f-ck-need-u/category/912772.html 骏马金龙博客关于加解密的介绍,需要重点关注。
加密、签名和SSL握手机制细节 https://www.cnblogs.com/f-ck-need-u/p/6089523.html

一篇搞定小白对openssl加密的疑惑 https://blog.csdn.net/chenwr2018/article/details/105658721

3、
阮一峰 SSL/TLS协议运行机制的概述 http://www.ruanyifeng.com/blog/2014/02/ssl_tls.html
图解SSL/TLS协议 http://www.ruanyifeng.com/blog/2014/09/illustration-ssl.html

4、
使用 openssl 从 pfx 证书中提取密钥对(需要用到密码):

  1. 提取密钥对
    openssl pkcs12 -in xxx.pfx -nocerts -nodes -out private.key
  2. 从密钥中提取私钥
    openssl rsa -in private.key -out private.pem
  3. 从私钥中提取公钥
    openssl rsa -in private.pem -pubout -out public.pem
posted @ 2021-01-10 00:33  helloweifa  阅读(98)  评论(0编辑  收藏  举报