The Standard SSL Handshake
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.
最新文章
- iOS 对象和json互相转换
- shell(一)
- python发送邮件及附件
- ARP协议学习
- js或者ext js获取返回值
- Sql Server之旅——第一站 那些给我们带来福利的系统视图
- RPI学习--环境搭建_刷卡+wiringPi库安装
- 2.python的变量与赋值
- Python中小中花括号的区别
- UVA-11134-Fabled Rooks (结构排序+贪婪)
- KB奇遇记(3):IT现状
- js查找、自组织数据
- java方法中,传参是传值还是传址问题(对比C语言、C#和C++)
- 处理Task引发的异常
- PHP 三元运算 ??与?:
- asp.net 获取音视频时长 的方法
- RxJava 机制
- 初步理解require.js模块化编程
- 【Leetcode】264. Ugly Number II ,丑数
- shell脚本中的交互式输入自动化