Why a hostname mismatch happens

When a client connects to api.example.com, it compares that requested name with the certificate’s Subject Alternative Name list. The certificate can be issued by a reputable authority and remain within its validity dates, but the connection still fails if the requested name is not covered.

Common misconception: the Common Name is not a reliable replacement for modern SAN validation. Check the SAN list and the exact hostname being requested.

Typical causes

How to troubleshoot

  1. Record the exact hostname, including whether it uses a regional or service-specific subdomain.
  2. Inspect the certificate actually returned by that hostname with SNI enabled.
  3. Compare the SAN entries with the requested name and wildcard rules.
  4. Check proxy, load-balancer, and DNS configuration for a default-site response.
  5. Reissue and deploy the certificate, then test each public path.

Certificate Inspector reports the SAN evidence returned by the tested endpoint. It does not prove that every client path, private hostname, or alternate listener uses the same certificate.

Last reviewed: September 2026. Always confirm production changes with the service owner.