How to fix the "Not secure" warning on your website

"Not secure" means the page doesn't have a private connection, so what people type could be read or changed on the way. The usual fix is to turn on the free security certificate at your host or builder, then send every http:// address to https://. A full-page warning is different: the certificate itself has expired or doesn't match your address.

By Ethan Stoner, web designer. Published .

Work out which one you have

  1. Type https:// and your address. If the page opens without a warning, you have a certificate and only the redirect is missing.
  2. Type http:// and your address. It should change to https:// by itself. If it doesn't, the old address is still open.
  3. Try it with and without www. A certificate can cover one and not the other.
  4. If you see a full-page warning, click for the details and read whether it says expired or wrong name.
  5. If only some pages show a warning, they probably load a picture or script over http://.

Chrome's help page lists what each label means, and says it's the site's owner who has to fix this, by securing the site with HTTPS.

Fix it

The site has no https, or doesn't switch to it

Site uses https

About 30 minutes

  1. Turn on the free SSL certificate in your host's control panel (most offer Let's Encrypt with one click).
  2. On a website builder, check the SSL or security setting is switched on; most turn it on for you once your domain is connected.
  3. Then set the site to redirect every http:// address to https://.

http redirects to https

About 15 minutes

  1. Ask your host to redirect every http:// address to the same page on https:// with a permanent (301) redirect.
  2. If your site runs through Cloudflare, turn on SSL/TLS › Edge Certificates › Always Use HTTPS.
  3. Test it by typing http:// plus your domain into a browser; it should switch to https:// by itself.

The certificate is the problem

Security certificate not expired or about to expire

About 15 minutes

  1. Renew the certificate in your host's control panel, or ask your host to.
  2. Turn on automatic renewal (free Let's Encrypt certificates renew every 90 days by themselves when set up properly).
  3. On a website builder, check the domain is still connected; renewal stops if it isn't.

Valid security certificate

Ask your host

  1. Ask your host to reissue the certificate for your domain, covering both yourdomain.com and www.yourdomain.com.
  2. On a website builder, check the domain is connected correctly in the domain settings; the builder issues the certificate once it is.
  3. Then open the site in a private browser window to check the warning is gone.

One part of the page is the problem

A page on https:// that loads a file from http:// is called mixed content. Search the page source for http:// and change the address of each picture or script to https://. If it isn't available that way, upload it to your own site or replace it.

Make sure it stays fixed

  • Ask your host if the certificate renews by itself, and what happens if it can't.
  • Keep the domain connected to the builder or host. Renewal stops if it isn't.
  • Look at the site in a private window after any change of host or domain.

When to ask for help

Ask your host first: certificates are theirs to issue. Get help if the warning comes back, if you take payments on the site, or if the browser calls the site dangerous, which is a different problem.

Ethan Stoner, who makes WebCheckup, also fixes small-business sites. Ask for a quote.

Questions

Why does my site say not secure when the certificate is valid?
Either the visitor opened the http:// address and the site didn't switch them to https://, or the page loads a file over http://. Check the redirect first.
Do I have to pay for an SSL certificate?
Most hosts offer a free one from Let's Encrypt, and most website builders turn theirs on for you once your domain is connected.

What WebCheckup checks

The checkup runs these checks on this subject. Each link goes to its place in our full list.

Sources

The builder steps are the ones in our reports, written from each builder's own help pages. Menus change, so a label may have moved.

Check your site.

The free checkup looks for this and the rest of our list, and puts the problems in order.