The SSL/TLS handshake

The TLS Handshake Protocol is responsible for the authentication and key exchange necessary to establish or resume a secure session. Handshake Protocol manages the following:

  • Client and server will agree on cipher suite negotiation, random value exchange, and session creation/resumption
  • Client and server will arrive at the pre-master secret
  • Client and server will exchange their certificate to verify themselves with the client (optional)
  • Generating the master secret from the pre-master secret and exchanging it

Types of handshake message

There are ten types of message, as shown in the following table, and their corresponding Wireshark filters. This is a one-byte field in the Handshake Protocol:

Type

Protocol

Message

Wireshark ...

Get Packet Analysis with Wireshark now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.