yiGmMk / comment_blog

the comments of www_programnotes_cn
0 stars 0 forks source link

tls连接是如何建立的 | ProgramNotes #77

Open yiGmMk opened 2 years ago

yiGmMk commented 2 years ago

https://programnotes.cn/tls/index.html#more

建立ssl/tls连接需要若干步骤,协议结合使用了对称加密和非对称加密,客户机和服务端需要协商所使用的算法并交换密钥信息.下面以TLS 1.2为例介绍下流程(TlS1.3做了很多优化)