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

The Standard SSL Handshake

时间:2017-12-19 00:58:41      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:nbsp   oal   ret   match   his   nic   cipher   clear   its   

The following is a standard SSL handshake when RSA key exchange algorithm is used:

1.  Client Hello

Information that the server needs to communicate with the client using SSL. This includes the SSL version number, cipher settings, session-specific data.

4.  Decryption and Master Secret

Server uses its private key to decrypt the pre-master secret. Both Server and Client perform steps to generate the master secret with the agreed cipher.

 

2.  Server Hello

Information that the server needs to communicate with the client using SSL. This includes the SSL version number, cipher settings, session-specific data.

 

5.  Encryption with Session Key

Both client and server exchange messages to inform that future messages will be encrypted.

 

3.  Authentication and Pre-Master Secret

Client authenticates the server certificate. (e.g. Common Name / Date / Issuer) Client (depending on the cipher) creates the pre-master secret for the session, Encrypts with the server‘s public key and sends the encrypted pre-master secret to the server.

 
https://www.websecurity.symantec.com/security-topics/how-does-ssl-handshake-work

The Standard SSL Handshake

标签:nbsp   oal   ret   match   his   nic   cipher   clear   its   

原文地址:http://www.cnblogs.com/feng9exe/p/8059139.html

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