What is an SSL certificate? Explained with a passport check at the door
An SSL certificate is a website's digital passport: a trusted authority vouches for its address, so your browser can check it before opening a private HTTPS connection. Explained with a passport check at the door.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- Engineering
In one sentence: An SSL certificate (today, strictly a TLS certificate) is a website's digital passport: a trusted organisation vouches that the site really controls its web address, and HTTPS uses it so your browser can check who it is talking to before setting up a private, tamper-proof connection.
The everyday picture
Imagine you visit an office to hand over a signed contract. Before you give anything to the person at the door, you ask to see their passport.
You check three things. Was the passport issued by a passport office you trust? Does the name match the office you meant to visit? Is it still in date? If all three pass, you step into a private room, close the door and do your business. If something is wrong, you stop at the door.
Every time you open a website that starts with https://, your browser does this check for you. The website shows its certificate (the passport). Your browser plays the careful visitor. Only when the check passes does it start a private conversation.
Your browser knocks, the site shows its certificate, and the browser checks it was issued by a trusted authority. Only then does the encrypted HTTPS connection open.
How it works, step by step
- A certificate authority (the passport office) checks the website owner first. For a basic certificate, it confirms that the owner controls the web address, for example by asking them to place a special file on the site or add a record to its DNS settings. Then it signs and issues the certificate.
- Your browser (the visitor) knocks. You type or click an https:// address, and the browser asks the website's server for a secure connection.
- The server (the person at the door) shows its certificate (the passport). It holds the web address, an expiry date, the authority's signature and the site's public key. Only the real site holds the matching private key, like a signature no one else can copy.
- The browser checks the passport. Was it signed by an authority the browser or device already trusts? Does the name match the address you typed? Has it expired? If any answer is wrong, you see a warning such as "Your connection is not secure".
- The private room opens. The server proves it holds that private key, and browser and server agree on fresh secret keys. This setup is called the TLS handshake. From then on, everything you send is encrypted (no one outside can read it) and protected from being changed on the way. That is HTTPS: normal web traffic carried over TLS.
Try it · Put it in order
Put the passport check in the right order
Tap the steps in the order they happen.
Where the picture stops
- A passport proves who a person is. Most website certificates only prove that the owner controls the web address. They do not prove the business is honest. A scam site can have a valid certificate too, so the padlock means "private connection", not "safe shop".
- Nobody looks at the passport by hand. The whole check happens automatically, in a fraction of a second, every time you connect.
- Website passports expire much faster than real ones. Under industry rules agreed by browser makers and certificate authorities, new public certificates can last at most 200 days from March 2026. The limit drops to 100 days in March 2027 and 47 days in March 2029.
Why it matters for your business
- Customer trust. Browsers show a full-page warning when a certificate is missing, expired or for the wrong name. Many visitors will leave rather than click past it.
- Protected data. Logins, contact forms and payment details travel encrypted, so people on the same café or hotel Wi-Fi cannot read or change them on the way.
- Fewer outages. An expired certificate makes a working site look broken. With shorter lifetimes, renewal needs to be automatic, not a calendar reminder.
- Low cost. Basic certificates are free from nonprofit authorities such as Let's Encrypt, and many hosting platforms set them up and renew them for you.
An example
Imagine a small dental practice whose online booking page has run fine for a year. One Monday, patients start calling to say their browser shows a security warning. Nobody hacked the site. The certificate simply expired over the weekend, and the person who renewed it by hand had left. The practice's web provider renews it in minutes, then turns on automatic renewal so the passport is always replaced before it runs out.
Frequently asked questions
What is the difference between SSL and TLS?
SSL was the older protocol that TLS replaced. Secure connections today use TLS, mostly version 1.3, but many people and products still say "SSL certificate" out of habit.
Does the padlock mean a website is safe?
No. It means your connection to that address is private and the site controls that address. It says nothing about whether the business behind it is trustworthy.
Why does my browser say "Your connection is not secure"?
The certificate check failed. Common causes are an expired certificate, a certificate for a different address, or one not signed by an authority your browser trusts.
Do I need HTTPS if my website has no login or payments?
Yes. HTTPS also stops anyone on the network from reading or changing your pages on the way, and proves to visitors that they reached your real address.
Related explainers
- What is encryption? Explained with a sealed envelope
- What is an HTTP request? Explained with a letter and its reply
- What is DNS? Explained with your phone's contacts list
- What are SSO and 2FA? Explained with a hotel key card and a PIN
The DevDrift sets up hosting with automatic HTTPS renewal for the apps it builds: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.