ZBLOG

TLS handshake process

The TLS (Transport Layer Security) handshake process is a cryptographic procedure that occurs when a client initiates a secure communication session with a server.

The TLS handshake involves several steps:

  1. Client Hello: The client sends a message to the server, including supported TLS versions, cipher suites, and random values.

  2. Server Hello: The server responds with its chosen cipher suite, the server’s SSL/TLS certificate, and another random value.

  3. Certificate Request: If required by the server, the server will request a digital certificate from the client, in order to authenticate the client’s identity.

  4. Server Key Exchange: In some cases, the server may send a public key for use in key exchange.

  5. Client Key Exchange: The client creates a new encryption key for the session, encrypts it using the server’s public key, and sends it to the server.

  6. Certificate Verify: If the server requested a certificate from the client, the client must now prove it has the private key associated with the public key provided in the certificate.

  7. Change Cipher Spec: Both the client and server indicate their readiness to begin sending encrypted data.

  8. Finished: Both client and server send a message indicating the completion of the handshake process.

Once the TLS handshake is completed successfully, the client and server can securely exchange data using the agreed-upon encryption parameters.

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://sdn.0voice.com/?id=46

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?