Appearance
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 life | In TLS | What it does |
|---|---|---|
| 🪧 A postcard | Plain HTTP | Anyone handling it can read it |
| 🔒 A locked box | TLS encryption | Only the two ends can open it |
| 🪪 An ID card with an official stamp | Certificate | Proves "I really am coindash.example" |
| 🏛️ The office that issues ID cards | Certificate authority | Signs certificates your browser trusts |
| 🎨 Mixing paint to agree on a colour | Key exchange | Both get the same secret, never sent |
| 🔑 One key for the whole conversation | Session key | Fast locking of every packet |
| 🏚️ An old lock model that was picked | SSL | Retired; only the name survived |
Visual Mental Model
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.
What a certificate check really checks
- Name: does the certificate say
coindash.example, the site you asked for? - Signer: is it signed by a certificate authority in your browser's built-in trusted list?
- Dates: is it still valid (not expired, not revoked)?
All three ✓ → padlock. Any ✗ → a full-page warning.
SSL → TLS: The Version History
| Version | Year | Status |
|---|---|---|
| SSL 2.0 | 1995 | ✗ broken, disabled |
| SSL 3.0 | 1996 | ✗ broken, disabled |
| TLS 1.0 | 1999 | ✗ retired |
| TLS 1.1 | 2006 | ✗ retired |
| TLS 1.2 | 2008 | ✓ fine |
| TLS 1.3 | 2018 | ✓ 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, cookies | The server's IP (Internet Protocol) address |
| Everything in the request and the reply | Usually the site name (e.g. coindash.example) |
| How much data and when |
Trade-offs
| Choice | Upside | Downside |
|---|---|---|
| HTTPS everywhere | Privacy, tamper-proofing, required by browsers for many features | Certificates must be renewed (free and automatic today) |
| TLS 1.3 only | Fastest, safest | Very old devices can't connect |
| Short-lived certificates (90 days) | Less damage if a key leaks | Renewal 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 →