---
title: "The certificate does not cover this address"
description: "The certificate is for other host names, so browsers warn visitors that the connection may not be private."
url: https://ursy.com/issues/certificate-name-mismatch/
updated: 2026-11-30T12:53:04+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/certificate-name-mismatch/
---

# 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.

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

## Why it matters {#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 {#how-to-fix-it}

Get a certificate that names every host you use, both with and without www, and any [subdomains](https://ursy.com/wiki/subdomain/). 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](https://ursy.com/wiki/redirect/) visitors safely to the main one. Check every name with the [SSL Certificate](https://ursy.com/wiki/ssl-certificate/) Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
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.

### What it looks like fixed {#what-it-looks-like-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 {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
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/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#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 {#shopify}

In Settings, Domains, connect both the www and the [root domain](https://ursy.com/wiki/root-domain/) so Shopify issues certificates for both, and set one as primary.

### Your server or hosting {#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) {#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](https://ursy.com/wiki/dns/) record.

## Check it is fixed {#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 {#official-source}

[RFC 9525: Service Identity in TLS](https://www.rfc-editor.org/rfc/rfc9525)

## Questions {#questions}

### I only use www. Does the other name need a certificate? {#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? {#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.

---

**Cite this page:** The certificate does not cover this address. URSY.com. Updated 30 November 2026. https://ursy.com/issues/certificate-name-mismatch/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[The certificate does not cover this address](https://ursy.com/issues/certificate-name-mismatch/), URSY.com`. One section: add its id, for example https://ursy.com/issues/certificate-name-mismatch/#section-id (every heading above has one).

Section links: https://ursy.com/citations/21/#p-5736 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/certificate-name-mismatch/
- As JSON: https://ursy.com/issues/certificate-name-mismatch/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
