Session length

1 / 20

What are the main steps of a TLS handshake and the role of certificates?

Client sends hello; server presents certificate; certificate chain is validated; key exchange occurs (DHE/ECDHE); session keys are derived; secure symmetric encryption starts; certificate chain validation must succeed.

TLS handshakes are about establishing trust and a fresh, secret connection between client and server. The client first proposes what it can support, including the protocol version and cipher suites. The server then picks a version and a cipher and sends its certificate chain to prove it is who it says it is. The client must validate that chain against trusted roots, check that the certificate is valid for the server’s hostname, and ensure it hasn’t expired or been revoked. This step ensures the client can trust the server before any secrets are shared.

Once trust is established, the client and server perform a key exchange. If they use ephemeral Diffie-Hellman (DHE or ECDHE), the server’s certificate is used to sign the exchange parameters, providing server authentication while enabling a forward-secure secret: a shared premaster secret that both sides combine with their random values to derive the actual session keys. From that premaster secret and the random values exchanged during the handshake, they derive symmetric encryption keys and MAC keys for protecting all subsequent data. After they verify the handshake with Finished messages, they switch to the negotiated symmetric encryption, and application data is exchanged securely.

The role of certificates here is to authenticate the server’s identity and to enable the secure key exchange. The certificate chain ties the server’s public key to a trusted authority, ensuring the client can trust the server. Depending on the method, the certificate’s public key either helps encrypt the exchange material or signs the exchange parameters, but in all cases it anchors trust before any sensitive data is transmitted.

Other options don’t fit because TLS isn’t just about negotiating a cipher; it always involves certificate-based authentication and a cryptographic exchange to derive session keys. Data isn’t sent before the handshake completes, and TLS typically doesn’t rely on passwords for session key establishment (unless using a very specific, nonstandard configuration). While client certificates can be used, they are not mandatory for standard server authentication, and certificates are not optional in the normal TLS handshake focused on trust and key establishment.

TLS handshake only negotiates cipher; certificates are not involved.

Server sends data first; client responds with cookies; no certificates needed.

Client and server exchange passwords; certificate is optional.

Next question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy