码迷,mamicode.com
首页 > 其他好文 > 详细

How SSL/TSL Build

时间:2018-03-27 10:21:12      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:src   ssl   cat   digital   enc   nis   capture   hello   host   

There are two movitation for SSL/TSL

1) Data encryption,  if the data is captured by 3rd party, the data will be in encrypted.

2) Host identification,  to verify the destination host is trusted 

 

 There are 5 step handshake for SSL/TSL build

1) Client send hello message, it includes the SSL/TLS version

2) Desination Host response with hello, include the agreement algorithem, digitial certificate, and public key.

3) client contacts the server CA to verify the digital certificate 

4) Client shares a secret key which is encrypted by server‘s public key and send it to server

5) server send finish and the connection is established

技术分享图片

技术分享图片

 

How SSL/TSL Build

标签:src   ssl   cat   digital   enc   nis   capture   hello   host   

原文地址:https://www.cnblogs.com/anyu686/p/8655260.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!