SSL
ssl的基础知识,趁最近的项目又再熟悉下:
单向的意思是仅客户端验证服务端证书,而不需要客户端也给证书给服务端去验证.
wireshark抓取, 访问微信webapi
wx.qq.com/jslogin
协议:TLSv1.2
Client hello
random: 生成会话密钥用
Cipher suites:声明支持的算法
![Screenshot from 2018-11-16 14-07-42-6cd17f55-76e0-40a1-8469-e8e8b7244d64](https://i-blog.csdnimg.cn/blog_migrate/dea5d95b7221d97bb3f28ea46c4e5c89.png)
Server hello,Certificate,Server Key Exchange, Server Hello done
Server hello
Cipher Suite:回应采用的算法
random:用于生成会话密钥
![Screenshot from 2018-11-16 14-10-02-d73affe6-1b69-4b4f-9b6b-030fb8a7791d](https://i-blog.csdnimg.cn/blog_migrate/fd0050910af9638b1348cd7049edec17.png)
Certificate