Skip to content

HTTPS, TLS & SSL: The Locked Box ​

Season 2 · Note 7

In Plain English (30-Second Refresher) ​

TL;DR

Every router, Wi-Fi network and provider on the path handles your packets. Without a lock, they can read and change them.

  • TLS (Transport Layer Security) locks the data between your device and the server. Web traffic inside TLS is HTTPS (HyperText Transfer Protocol Secure): the padlock in your browser.
  • The TLS handshake does two things: proves the server is who it says (a certificate signed by a certificate authority your browser trusts) and agrees on a shared secret key without ever sending it.
  • SSL (Secure Sockets Layer) is TLS's retired predecessor. Every SSL version is broken; the name lives on in "SSL certificate", which today means a TLS certificate.

The Mission We Follow ​

You're on café Wi-Fi, logging in to Coin Dash to save your score. Everyone in the café shares the same air. This note follows the packet carrying your login.

Real-World Analogy: A Locked Box and an ID Card 📮 ​

In real lifeIn TLSWhat it does
🪧 A postcardPlain HTTPAnyone handling it can read it
🔒 A locked boxTLS encryptionOnly the two ends can open it
🪪 An ID card with an official stampCertificateProves "I really am coindash.example"
🏛️ The office that issues ID cardsCertificate authoritySigns certificates your browser trusts
🎨 Mixing paint to agree on a colourKey exchangeBoth get the same secret, never sent
🔑 One key for the whole conversationSession keyFast locking of every packet
🏚️ An old lock model that was pickedSSLRetired; only the name survived

Visual Mental Model ​

The TLS handshake: client hello and server hello, the browser checking the server's certificate, both sides mixing key halves into one shared key, then locked data; a fake server's untrusted certificate triggers a warning

How It Works (Interactive Animated Flow) ​

The TLS Handshake
Prove who you are, agree on a secret, then lock everything
🎯 Mission Send your login and score privately over café Wi-Fi.
CLIENT💻Your browserwants to log inSTEP 1👋Helloslocks + key halvesSTEP 2📜Certificate checkthe server’s ID cardSTEP 3🔑Shared keynever sentSERVER🖥️coindash.examplereal serverIMPOSTOR😈Fake hotspotpretends to be Coin Dashclient helloserver hello + certname ✓ signer ✓mix halves🔒 locked datauntrusted cert ✗

What a certificate check really checks ​

  1. Name: does the certificate say coindash.example, the site you asked for?
  2. Signer: is it signed by a certificate authority in your browser's built-in trusted list?
  3. Dates: is it still valid (not expired, not revoked)?

All three ✓ → padlock. Any ✗ → a full-page warning.

SSL → TLS: The Version History ​

VersionYearStatus
SSL 2.01995✗ broken, disabled
SSL 3.01996✗ broken, disabled
TLS 1.01999✗ retired
TLS 1.12006✗ retired
TLS 1.22008✓ fine
TLS 1.32018✓ best: faster (1 round trip) and simpler

Server rule of thumb: allow TLS 1.2 and 1.3 only.

What HTTPS Hides (and What It Doesn't) ​

Hidden 🔒Still visible 👀
The page path (/scores), your login, your score, cookiesThe server's IP (Internet Protocol) address
Everything in the request and the replyUsually the site name (e.g. coindash.example)
How much data and when

Trade-offs ​

ChoiceUpsideDownside
HTTPS everywherePrivacy, tamper-proofing, required by browsers for many featuresCertificates must be renewed (free and automatic today)
TLS 1.3 onlyFastest, safestVery old devices can't connect
Short-lived certificates (90 days)Less damage if a key leaksRenewal must be automated

Common Gotchas ​

Watch Out For

  • The padlock means "private connection", not "trustworthy site". Scam sites get certificates too.
  • Never click "continue anyway" on a certificate warning, especially on public Wi-Fi.
  • Expired certificates take sites down. Automate renewal (e.g. Let's Encrypt).
  • "SSL" in a product name is just branding. Check that it actually negotiates TLS 1.2+.
  • Encryption needs the handshake first. A fresh connection pays 1 extra round trip with TLS 1.3 (2 with TLS 1.2).

Quick Self-Check (Restore Your Memory) ​

1. What does the server's certificate prove, and who vouches for it?

That the server really is coindash.example. A certificate authority your browser already trusts signed it.

2. How do your laptop and the server agree on a key if anyone can see the handshake?

Key exchange: each side mixes its own private secret with the other's public half; both get the same key, which is never sent. (Like mixing paint: easy to mix, impossible to unmix.)

3. Someone asks for an "SSL certificate". What do they really need?

A TLS certificate. SSL is the retired name; all SSL versions are broken and disabled.

🎬 Now Watch It Happen ​

2-minute episode

Ride along as the packet carrying your login: a postcard, a handshake, a locked ride, and a fake hotspot that gets caught. S2 · E7 — The Locked Box →

Built for clear thinking and fast 2-minute refreshers.