Skip to content

What an SSL certificate is and why you need one

SSL is what turns http into https and stops anyone reading the data between a visitor and your site. How it works, which type you need, and what it costs.

Web design9 min readDamjan

A locked brass padlock on an old wooden door, close up

An SSL certificate is what turns http into https and puts the padlock next to the address. Its job is to encrypt the data between a visitor and the server, so that nobody in between can read it.

It is mandatory today, for three reasons: browsers warn about sites without one, Google uses it as a signal, and without it you must not be collecting any data from visitors at all.

Key takeaways

  • An SSL certificate encrypts the connection between the browser and the site and enables https.
  • Without it the browser shows a "Not secure" warning, and forms and payments lose trust.
  • For most sites a free certificate, such as Let's Encrypt, which renews itself, is enough.
  • Paid certificates with organisation validation make sense for banks and larger stores.
  • Https is a small ranking signal but a big trust signal for visitors.

What happens without it

The data travels in the open. Every device between the visitor and the server (the router in a café, the provider's network) can read what was sent.

For a site that is only text, that is unpleasant. For a site with a form, a login or a payment it is unacceptable, and for handling personal data it is unlawful: data protection law requires appropriate security measures, and encrypting data in transit is the most basic one there is.

In practice, browsers now print "Not secure" next to the address. Every one of your visitors sees it.

How it works

Without going into the mathematics, in three steps:

  1. The browser asks the server to identify itself.
  2. The server sends a certificate, a confirmation issued by an authority the browser trusts.
  3. If the certificate is valid and in date, the two agree a key and everything after that is encrypted.

The padlock in the address bar means the connection is encrypted and the domain has been verified. It does not mean the site is honest. A scam site can have SSL too. That is a common misunderstanding. SSL protects data in transit. It does not protect the site itself from malware or from being hacked.

Keys, the handshake and the certificate authority

The three steps above are called the TLS handshake. Three things make it work.

A public key and a private key. The certificate contains the public key, which anyone can see. The private key stays on the web server and is never shared. Whatever is encrypted with the public key can only be decrypted with the private key, so an attacker who intercepts the traffic gets nothing readable. If the private key leaks, the certificate no longer protects anything.

A session key. Once the browser has checked the certificate, the two sides agree a temporary session key and use it to encrypt everything that follows.

A certificate authority (CA). This is the organisation that issues the certificate and signs it, after checking the domain, and sometimes the company, behind it. Browsers and operating systems ship with a list of trusted root certificates. The trust runs as a chain: the root certificate signs an intermediate certificate, and the intermediate certificate signs the one installed on your site. If the chain is broken or the CA is not trusted, the browser warns the visitor.

A certificate holds the domain name, the issuing authority and its signature, the issue and expiry dates and the public key.

Hands inserting a card into a payment terminal, close up
Hands inserting a card into a payment terminal, close up
Table of SSL certificate types DV, OV and EV with validation level and typical use
For most sites a free DV certificate is enough.

SSL or TLS

The name is a leftover. SSL (Secure Sockets Layer) was the original protocol, and it was replaced by TLS (Transport Layer Security). SSL 3.0 dates from 1996, TLS 1.0 from 1999, TLS 1.2 from 2008 and TLS 1.3 from 2018. The old SSL versions and early TLS versions are retired because of known weaknesses, so what protects your site today is TLS. People still say "SSL certificate" and mean a TLS certificate. They are the same thing in practice.

Certificate types

Type What it verifies Who it suits
DV (domain validation) that the domain is yours almost every site
OV (organisation validation) and that the company exists larger companies, institutions
EV (extended validation) a detailed check on the company banks, insurers

There are also wildcard certificates, which cover every subdomain at once (\*.yourdomain.com), and multi-domain ones for several different domains.

Silver padlock hanging on the latch of a blue metal door
Whatever the type, the certificate does the same job: it locks the connection. Photo: Zaqy Al Fattah, Unsplash

Free or paid

This is the question that bothers people most, and the answer is simple.

For ninety percent of sites a free Let's Encrypt certificate is entirely sufficient. The encryption is identical to a paid one. The difference is only in what gets checked before it is issued, and whether it comes with a warranty and support.

Almost every host now offers Let's Encrypt in a couple of clicks, with automatic renewal every three months.

A paid certificate makes sense if:

  • Your industry or your client requires OV or EV for formal reasons
  • You need the warranty that comes with a commercial certificate
  • You have a complex setup across several domains and want support for it

There is no "better encryption" for more money. The padlock looks the same.

How it is installed

On most hosting it is a few clicks in the control panel: find SSL, pick the domain, switch it on, wait a couple of minutes.

If you buy a certificate directly from a certificate authority, the process is a little longer. You generate a certificate signing request (CSR) on the server, which your host can do for you, send it to the authority to validate the domain and the company, and install the certificate it returns. A domain-validated certificate can be issued within minutes. Extended validation can take days.

After that there are several steps people skip, which leaves the site half done:

  1. Redirect http to https with a permanent redirect. Otherwise both versions work and Google sees two sites.
  2. Fix mixed content. If images or scripts load over http, the padlock will not be complete. The browser console tells you exactly which addresses they are.
  3. Change the site address in your CMS settings to the https version.
  4. Add the https version to Search Console as a separate property.
  5. Check the internal links that are hard-coded with http.
SSL is mandatory, a free one is enough for almost everyone, and it has to be finished properly, including the redirect from http and clearing the mixed content.

Does SSL lift rankings

Google confirmed back in 2014 that https is a weak ranking signal. Weak means weak. It will not get you onto page one by itself.

But the absence of SSL now hurts indirectly, and noticeably: visitors see a warning and leave, and people leaving is what actually shows up in the numbers. On top of that, a chunk of modern browser functionality does not work without https.

Think of it as electricity in a shop. It does not attract customers, but without it there are no sales.

After switching to https: what to check

Moving from http to https is a small migration and needs the same care:

Brass padlock resting on a laptop keyboard lit in red and green
After the move, check that nothing on the site is still left unlocked. Photo: FlyD, Unsplash
  • Every http URL redirects permanently (301) to https in a single step, without a chain.
  • Internal links, images and scripts load over https, otherwise the browser reports "mixed content".
  • Canonical tags and the sitemap point to https URLs.
  • Search Console: a Domain property covers both versions, so data stays in one place, as described in our Search Console guide.

These checks are also part of the technical SEO checklist. On WordPress, an SEO plugin handles part of this, as covered in what is WordPress. If the site is also changing domain, that is a job for an SEO migration.

What happens when it expires

An expired certificate is worse than none: the browser shows a full warning page the visitor has to click past.

Let's Encrypt renews itself every three months, provided automatic renewal is switched on. Paid ones renew annually, and that is where it usually gets forgotten.

Set a reminder or turn on auto-renewal. This is the kind of fault everybody notices except you.

In short

SSL is mandatory, a free one is enough for almost everyone, and it has to be finished properly, including the redirect from http and clearing the mixed content. Turn on auto-renewal and forget about it.

If you are not sure yours is set up properly, that is one of the checks in our technical checklist, and the full review is what we do in an SEO audit.

Frequently asked questions

What is an SSL certificate?

A digital certificate that encrypts the connection between the browser and the website and lets the site run over https. The browser then shows the site as secure.

Is a free SSL certificate enough?

For most websites, yes. Free certificates such as Let's Encrypt provide the same encryption as paid ones and renew automatically on hosting that supports it.

What is the difference between SSL and TLS?

TLS is the newer protocol that replaced SSL. The certificates are still called SSL certificates out of habit, but the connection today uses TLS.

How can I tell whether a site has an SSL certificate?

Look at the address bar. The address starts with https and there is a padlock next to it. Click the padlock to see who issued the certificate and when it expires.

Does SSL affect SEO?

Https is a small ranking signal, but a site without it shows a warning that drives visitors away, so the indirect effect is larger.

What happens when an SSL certificate expires?

The browser shows a large warning and most visitors leave. That is why auto-renewal is turned on and the expiry date is monitored.

A question the articles do not answer?

Book a free call