TLS, HTTPS & Certificates
How internet security actually works
The Man-in-the-Middle Problem
In the early internet, data traveled as plaintext. HTTPS added encryption, but encryption alone does not solve identity. A hacker intercepting your browser's request for a bank's public key can substitute their own — this is a Man-in-the-Middle (MITM) attack.
Digital Certificates and Certificate Authorities
Certificate Authorities (CAs) — DigiCert, GlobalSign, Let's Encrypt — verify website identities and issue certificates signed with the CA's private key. Your browser ships with a Root Store containing ~100 trusted CA public keys. Trust flows downward: browser trusts CA, CA vouches for website.
The TLS Handshake: Step by Step
- •Step 1 — Client Hello: Browser announces supported algorithms and sends a random number
- •Step 2 — Server Hello & Certificate: Server selects algorithms and sends its certificate
- •Step 3 — Verification & Key Exchange: Browser verifies certificate, generates a session key, encrypts it with server's public key
- •Step 4 — Switch to Symmetric: Server decrypts the session key. Both sides share the same key
- •Step 5 — Secure Data Transfer: All subsequent communication uses fast AES encryption
Why TLS Is the Ultimate Quantum Target
The handshake relies on asymmetric cryptography in two critical places: the CA's digital signature on the certificate, and the key exchange that transports the session key. If a quantum computer can reverse-engineer the CA's private key, it can forge perfect certificates for any website. Browsers would show green padlocks for attacker-controlled servers. The entire chain of trust would evaporate.
This is the 'quantum apocalypse' scenario — not just breaking one connection, but collapsing the entire trust infrastructure of the internet.
Explore more in the atlas
Key Takeaways
- TLS handshakes use asymmetric crypto in two critical places quantum computers can attack
- Certificate Authorities form a chain of trust verified by your browser's Root Store
- If a quantum computer forges a CA's private key, the entire trust model collapses
Primary sources
- RFC 8446 — The Transport Layer Security (TLS) Protocol Version 1.3The current TLS standard.
- Cloudflare — Defending against future threats: Cloudflare goes post-quantumProduction hybrid PQC TLS deployment.
- draft-ietf-tls-hybrid-design — Hybrid key exchange in TLS 1.3IETF draft for X-Wing and hybrid KEM combiners.