What Is an SSL Certificate? How HTTPS Works and How to Get One
Quick answer
An SSL certificate is a small digital file that proves a website controls its domain and lets browsers set up an encrypted HTTPS connection. It stops others from reading or tampering with data sent between visitors and the site. Today's connections actually use TLS, the successor to SSL, and basic certificates are available free.
SSL certificates in plain English
When you visit a website over HTTPS, two things need to be true: you need to be talking to the real site, and nobody in between should be able to read or change what you send. An SSL certificate makes both possible.
The certificate is issued by a trusted certificate authority (CA). It contains your domain name, a public key and the CA’s digital signature. Browsers come with a list of CAs they trust, so they can check the signature and confirm the certificate is genuine.
How HTTPS works, step by step
- The visitor’s browser connects to your site and asks for a secure connection.
- Your server presents its certificate.
- The browser checks it: Is it signed by a trusted CA? Does it match the domain? Has it expired?
- They agree on encryption keys using a process called the TLS handshake.
- Everything after that is encrypted, including pages, form entries, passwords and cookies.
If any check fails, the browser shows a warning instead of the page, which drives most visitors away.
SSL vs. TLS
SSL (Secure Sockets Layer) was the original protocol. It was replaced by TLS (Transport Layer Security), and every version of SSL is now considered insecure. Modern sites use TLS 1.2 or TLS 1.3. “SSL certificate” is simply the name that stuck. The certificate itself works with TLS.
Types of SSL certificates
By validation level
| Type | What the CA checks | Typical use | Cost |
|---|---|---|---|
| Domain Validated (DV) | That you control the domain | Most websites, blogs, small businesses | Often free |
| Organization Validated (OV) | Domain control plus that the organisation exists | Business and government sites | Paid |
| Extended Validation (EV) | A stricter check of the organisation’s legal identity | Some banks and large companies | Paid, usually the most expensive |
All three use the same strength of encryption. The difference is how much identity checking is done. Modern browsers no longer show EV certificates with a special green bar, so the visible benefit is smaller than it used to be.
By coverage
- Single-domain: covers one hostname, such as www.example.com (many also include the bare domain).
- Wildcard: covers every first-level subdomain, such as *.example.com. Read more about subdomains.
- Multi-domain (SAN): covers a list of different names in one certificate.
How to get an SSL certificate
Most people never handle a certificate file directly.
- Check your host or website builder first. Most hosting companies and builders provide free certificates and renew them automatically. Look for an SSL or HTTPS setting in your dashboard.
- If you run your own server, use an ACME client such as Certbot to get a free certificate from Let’s Encrypt. It proves domain control, installs the certificate and sets up automatic renewal.
- If you need OV or EV, buy from a commercial CA. You’ll submit company details and complete their verification process.
- Make sure your domain points to the server that’s requesting the certificate. Domain validation fails if DNS points elsewhere. See how to connect a domain to a website.
After installing: finish the job
- Redirect HTTP to HTTPS so every visitor gets the secure version.
- Fix mixed content. Images, scripts or styles loaded over plain HTTP can trigger warnings. Update them to HTTPS links.
- Update your site URL in your CMS, and in Google Search Console if you use it.
- Confirm auto-renewal works. An expired certificate causes full-page browser warnings.
- Consider HSTS once everything works, which tells browsers to always use HTTPS for your site.
Common SSL errors and what they mean
| Error | Likely cause |
|---|---|
| Certificate expired | Renewal failed or wasn’t set up |
| Name mismatch | The certificate doesn’t cover the hostname visitors used (for example, www vs. non-www) |
| Not trusted | Self-signed certificate or missing intermediate certificate |
| Not fully secure / mixed content | Some page resources still load over HTTP |
Do you really need one?
Yes, for any public website, even one without forms or logins. Browsers label plain HTTP pages as “Not secure”, many modern web features only work over HTTPS, and visitors increasingly expect the padlock. With free certificates widely available, there’s little reason to go without. Add it to your website launch checklist.
Frequently asked questions
Is SSL the same as TLS?
TLS is the modern replacement for SSL. The old SSL protocols are obsolete and insecure, but the name stuck, so certificates are still widely called SSL certificates even though they are used with TLS.
Are free SSL certificates safe?
Yes. A free domain-validated certificate from a trusted authority such as Let's Encrypt provides the same encryption as a paid domain-validated certificate. Paid certificates mainly add organisation checks, support or warranties.
Does an SSL certificate help SEO?
Google has used HTTPS as a lightweight ranking signal and includes it in its page experience guidance. More importantly, browsers warn visitors about sites that aren't secure.
How long does an SSL certificate last?
Publicly trusted certificates have limited lifetimes and must be renewed. Let's Encrypt certificates have traditionally lasted 90 days and are renewed automatically, and industry rules are steadily shortening maximum lifetimes, which makes automatic renewal essential.
Sources