Skip to the content
Start free

The certificate does not cover this address

The certificate is for other host names, so browsers warn visitors that the connection may not be private.

High priority Security and HTTPS

Why it matters #

A certificate lists the host names it is valid for. If the address in the browser is not one of them, browsers show a full-page warning. A common case: the certificate covers www.example.co.uk but not example.co.uk, or the other way round.

A wildcard such as *.example.co.uk covers one level only: www.example.co.uk, but not example.co.uk itself or a.b.example.co.uk.

How to fix it #

Get a certificate that names every host you use, both with and without www, and any subdomains. Free automated certificates can cover several names at once.

A host name you do not want to use still needs a valid certificate, so that it can redirect visitors safely to the main one. Check every name with the SSL Certificate Checker.

What it looks like, and fixed #

The problem
Visiting:  https://example.com/
Certificate names (Subject Alternative Name):
  DNS:www.example.com

The certificate covers www.example.com only, so the address without www gets a warning.

Fixed
$ certbot --nginx -d example.com -d www.example.com
Certificate names (Subject Alternative Name):
  DNS:example.com, DNS:www.example.com

One certificate that names both host names.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
The TLS certificate on my website [your website address], hosted on [your platform, e.g. cPanel hosting], does not cover the address [the page address], so browsers show a warning. First check which host names the certificate lists (its Subject Alternative Names), or ask me to paste them, and explain plainly which names are covered and which are not. Remember a wildcard such as *.example.com covers one level only, not example.com itself. Ask me for every host name I use: with and without www, and any subdomains. Then give me the steps to get a certificate that names all of them, install it with its full chain, and check every site entry uses it. Rules: back up the current certificate and config first, do not remove any host name visitors use, keep redirects to my main address working, keep page addresses the same, and do not turn off https. Give exact steps or commands and where. Then tell me to re-check with the URSY.com SSL Certificate Checker at ursy.com/ssl-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

In the hosting panel, re-issue the free certificate and tick both the www and non-www names, plus any subdomains you use.

Shopify

In Settings, Domains, connect both the www and the root domain so Shopify issues certificates for both, and set one as primary.

Your server or hosting

Request a certificate listing every host name, for example certbot -d example.com -d www.example.com, and check the server block for each name uses it.

Your CDN (for example Cloudflare)

In Cloudflare, check the edge certificate covers both the root and www, and that each host name has a proxied DNS record.

Check it is fixed #

Run the URSY.com SSL Certificate Checker on each host name, with and without www: each should show a certificate that covers it, with no mismatch.

Official source #

RFC 9525: Service Identity in TLS

Questions #

I only use www. Does the other name need a certificate?

Yes. People still type it, and the redirect to www can only happen after a secure connection is made with a valid certificate.

Does a wildcard certificate cover everything?

No. *.example.com covers one level, such as www.example.com, but not example.com itself or a.b.example.com.

More problems in Security and HTTPS

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com