C

Cryptography › Module 3 › Lesson 1

BeginnerModule 3Lesson 1/5

How TLS Handshake Works

Follow the TLS handshake from ClientHello to encrypted application data

15 min+47 XP3 quiz
Module progress1 of 5
https://🔒
Browser bar · https:// · Green padlock

Opening

HTTPS is HTTP inside a TLS tunnel

When you see the padlock, your browser and the server already finished a cryptographic handshake. Understanding that dance helps you debug cert errors, MITM risks, and why cleartext HTTP is dangerous on hostile networks.

1. Handshake in Plain Language

1. ClientHello — “Here are the TLS versions and cipher suites I support.” 2. ServerHello — picks parameters and sends its certificate 3. Key exchange — agree on secrets (classic RSA key transport or modern Diffie–Hellman variants) 4. Finished — both sides confirm; then application data (HTTP) is encrypted Exact messages evolve with TLS 1.2 vs 1.3, but the goals stay: authenticate, negotiate, protect.

2. What You Gain

  • Confidentiality

    Eavesdroppers on Wi-Fi see ciphertext, not passwords.

  • Integrity

    Tampering with bytes is detected.

  • Server authentication

    Certificate proves you reached the expected name (when users check!).

TLS ≠ “the site is honest”

A phishing site can have a valid cert for its own evil domain. TLS protects the pipe; you still verify the name.

Knowledge Check

1

HTTPS is best described as:

Multiple choice

Knowledge Check

2

True or False: During the TLS handshake the server usually presents a certificate.

True or False

Knowledge Check

3

After the handshake, bulk HTTP data is typically protected with:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)