What an SSL certificate does, in plain words
An SSL certificate lets your site load over https, so what visitors send travels encrypted. Here is what the padlock means, what it does not mean, and how to deal with mixed content.
MotherHosting 4 min read
Open almost any website today and its address begins with https://, usually with a small padlock beside it. Behind that sits an SSL certificate. You do not need the mathematics to run a website, but it helps to know what the certificate does for your visitors, and what it does not do.
http and https
When someone opens your site, their browser and your hosting server send information back and forth: your pages in one direction, and whatever the visitor types into a form in the other. With plain http, all of it travels as readable text. Anyone who controls a point along the way, such as a shared wifi network, could read it or change it.
With https, the browser and the server first agree on a secret key, and everything after that is encrypted. Someone listening in sees only scrambled data. The s stands for secure.
What the certificate is for
Encryption alone is not enough. The browser also has to know that it is talking to the real server for your domain and not to someone pretending to be it. That is the certificate's job. It is a small file on the server, issued by a certificate authority that browsers trust, and it says in effect: this server really answers for this domain. The browser checks it in a moment, every time someone visits.
The technology is now properly called TLS. SSL is the older name that stuck, so you will see both.
Certificates expire and have to be renewed. On MotherHosting web hosting you do not do this by hand: your hosting issues free SSL certificates for the domains on your account and renews them automatically.
What the padlock means
The connection between the visitor and your site is encrypted.
The visitor has reached a server that holds a valid certificate for that domain.
What they send, such as a password, a contact form or an order, cannot be read or altered on the way.
What the padlock does not mean
It does not say the site is honest. A fraudulent site can have a certificate too. The padlock tells you that nobody is listening on the line, not who is at the other end. Always read the domain name itself.
It does not stop a website from being broken into. A weak admin password or an outdated plugin is as dangerous with https as without it.
It does not protect data after it arrives. How a website stores what you send it is a separate matter.
Why even a simple site needs https
Browsers label pages without https as not secure, and that makes visitors hesitate.
Every site has at least one form that matters: the page where you sign in as the administrator. Without https, that password travels as readable text.
Search engines take https into account.
Some browser features, such as asking for a visitor's location, work only on https pages.
Mixed content: a certificate, but no padlock
Sometimes a site has a valid certificate and still the browser shows a warning, or some pictures are missing. The usual reason is mixed content. The page itself loads over https, but something inside it, such as an image, a script, a font or a style sheet, is still requested with an http:// address. Browsers block such items or warn about them.
It happens most often when a site that was built on http is switched to https. To fix it:
Open the page and note what is missing or broken. The developer tools of your browser list each blocked address in their console.
Change those addresses from http:// to https:// in your pages, your theme and your settings.
In WordPress, check that both site addresses under Settings → General begin with https://.
Look at older posts too: pictures that were inserted with a full http address keep that address until you change it.
Reload the page and check for the padlock again.
Also make sure that a visitor who types your address without https is sent to the https version, so nobody stays on the old one.
Check your own site
Open your site with https:// in front of the domain. If the browser shows a padlock, the certificate is in place. If it does not, the domain may not point to your hosting yet, or the certificate may still be on its way. Our article Free SSL certificate: https for your site explains how to check it and what to do when https does not work.