Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Certificate missing www or apex in SAN: how to find and fix it

OPS-056High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A certificate proves a server is allowed to answer for a domain name. Modern browsers read the allowed names from the Subject Alternative Name (SAN) list. The apex (or root) domain is example.com. The www host is www.example.com. They are two different names, so a certificate must list each one.

Where a visitor is lost
  1. Ad or link to www.example.comVisitor clicks
  2. TLS handshakeCertificate lists only example.com
  3. Landing pageNever shown
  4. Form or checkoutNever reached

A visitor who uses the host missing from the certificate never reaches the page.

Why it costs you leads or sales

Visits that reach the page, by hostExample numbers
Visits that reach the page, by host (example)Host in certificate: 60 % of visits; Host missing from certificate: 0 % of visits02346600Host in certificateHost missing from cer…% of visits

Example: if 40% of your links use the host missing from the certificate, those visits are blocked while the rest work.

How to check if your site has it

Check both hosts
  1. Open both versions in a private window

    Visit https://example.com and https://www.example.com. A warning on either one means the problem exists.

  2. Read the certificate names

    Click the padlock or warning, open the certificate details and look at Subject Alternative Name (in Chrome: Connection is secure > Certificate is valid > Details).

  3. Or use the command line

    Run the command below and check that both names appear in the SAN line.

  4. Check DNS too

    Confirm both hosts resolve to your site. A name with no DNS record cannot be validated for a new certificate.

List the names on the certificatebash
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -ext subjectAltName

echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -ext subjectAltName

How to fix it

Add the missing name by platform
  1. Use your host's SSL tool

    In your hosting panel (for example cPanel's AutoSSL or Let's Encrypt tool), make sure both the apex and www are selected, then reissue.

  2. Check the site URL

    Under Settings > General, use one preferred version. Redirect the other one to it, but only after both load without warnings.

Let's Encrypt with Certbot (nginx example)bash
sudo certbot --nginx -d example.com -d www.example.com

How to confirm it's fixed

After reissuing
  • https://example.com loads with no warning
  • https://www.example.com loads with no warning
  • The openssl command lists both names in the SAN line
  • Your redirect sends one version to the other over HTTPS
  • Your ad final URLs and email links load cleanly
  • Test in a private window and on a phone

How to prevent it happening again

Habits that stop it coming back
  • Always request certificates for both apex and www together
  • Recheck names whenever you add a domain, subdomain or CDN
  • Check both hosts after any DNS or hosting change
  • Keep a list of every hostname used in ads, emails and checkout
  • Set a calendar reminder to review certificate names at renewal

How FunnelGuard handles this

Questions people ask

Why does my site work on www but show a security warning without it?

Your certificate most likely lists only www.example.com in its Subject Alternative Names, not example.com. Browsers check the exact name typed. Reissue the certificate with both names and the warning goes away.

What is a SAN in an SSL certificate?

SAN stands for Subject Alternative Name. It is the list of hostnames a certificate is valid for. Browsers use this list, so each host you serve, such as the apex and www, must appear in it.

Does an SSL certificate for example.com cover www.example.com?

Not automatically. A standard certificate for example.com does not cover www.example.com unless www is listed too. Most providers add both when you request them together, but you should check.

How do I check which domains my SSL certificate covers?

Click the padlock in your browser and open the certificate details to read the Subject Alternative Name field. You can also run openssl s_client with -servername and pipe it to openssl x509 -noout -ext subjectAltName.

How do I add www to my SSL certificate?

Reissue the certificate with both names. With Certbot use -d example.com -d www.example.com. On hosted platforms, connect both domains in the domain settings so the platform issues a certificate for each.

Will redirecting www to non-www fix the certificate error?

No. The browser checks the certificate before it follows any redirect. The host that redirects still needs a valid certificate that lists its name.

Can FunnelGuard detect a certificate missing the www or apex name?

Partly. It catches the problem on hosts that your monitored journeys visit. It does not scan every host on your domain, so check the other version by hand or add a journey that starts there.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: site safety (Stage 26, daily): the www / apex twin's certificate names.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.