How it works · 12 of 34 Core
How do TLS certificates and HTTPS work?
Whose padlock is it?
Certificates & TLS: A certificate is a public key plus a name, signed by a certificate authority (CA) that browsers trust; TLS uses it to prove that you reached the site whose name is in the address bar, which says nothing about whether that site is honest.
Loading the animation…
Say it like this A certificate proves you reached the name in the address bar, signed by an authority your browser trusts; it says nothing about whether that name is honest.
Under the hood — for builders
- Real example: the card's two stamps
- Both shops' certificates, made for this card from one demo authority. Every field matches except the name, and both pass the check:
- Why your browser believes the stamp
- A chain: a root authority the browser already trusts stamps an issuing authority, which stamps the site. Each arrow is a signature (B4):
- Stamps keep getting shorter
- The longest a certificate may last, in days, as browsers and authorities have voted it down:
- Crooks get padlocks too
- Share of phishing sites with a working padlock, per the Anti-Phishing Working Group:
- TLS in one round trip
- TLS 1.3 (RFC 8446): agree a key (B2), check the certificate, then scramble everything (B1).
- Every stamp is public
- Certificate Transparency logs list every certificate issued; search yours at crt.sh to spot look-alikes.
- Names, not companies
- Chrome dropped the green company-name bar in 2019 (Chrome 77); the address bar name is what's left.
- What to do
- Automate renewal with ACME (RFC 8555), alert 30 days before expiry, and watch the logs for your name.
- Sources
- CA/B Forum ballot SC-081v3 · APWG trends Q4 2017, Q1 2021 · RFC 8446, RFC 8555, RFC 6962 (Certificate Transparency).
What happens in the certificates & TLS animation, step by step?
- Two websites, two identical padlocks. Each has a certificate: a public key with a name, stamped by an authority browsers trust.
- Your turn: one of these is the bank. Which?
- Both stamps are real. The authority checked only that each owner controls the name on the sign: the padlock vouches for the name, not the honesty.
- Crooks noticed. Under 5% of phishing sites had a padlock at the end of 2016; by 2021, about 83%. Read the name, not the lock.
- Stamps expire: now after at most 200 days, 47 by 2029. Forget to renew, and your own customers get a warning page.
- And if a notary's own key is weak, anyone can stamp. How did one authority's key end up as the number 4? Next: weak keys.
What everyday example explains certificates & TLS?
A notary's stamp held against the register. The stamp proves the shop is registered under the name on its door. It doesn't prove the shop is a real bank, and the stamp goes stale on its expiry date.
Why should a team care about certificates & TLS?
You will decide who renews certificates; automate renewal now, because at 47 days a manual calendar reminder will eventually take your site down, and teach staff to check the name, not the lock.