AH01909: server certificate does NOT include an ID which matches the server name SSL / TLS Origin: Network Last updated 4 Nov 2026

Apache: [ssl:warn] AH01909: example.com:443:0 server certificate does NOT include an ID which matches the server name

Apache's SSL virtual host name does not match any name inside the certificate it loads.

Exact message you may see AH01909: server certificate does NOT include an ID which matches the server nameserver certificate does NOT include an ID which matches the server name[ssl:warn] AH01909AH01909 RSA certificate configured for example.com:443 does NOT include an ID which matches the server name
Seen on: SSL Linux

Meaning

Warning only, but it means browsers will show a name mismatch for that vhost. Fix the ServerName/ServerAlias to a name in the certificate, load the correct certificate for the vhost, or reissue the certificate to include the name. Often a default *:443 vhost is serving the wrong cert.

Common causes

  • ServerName not present in certificate SAN
  • Wrong certificate file for this vhost
  • Default SSL vhost catching requests
  • Certificate for example.com used with www host
  • Copied vhost not updated

⚡ Quick fix

  1. Align ServerName with the certificate name
  2. Point SSLCertificateFile to the right certificate
  3. Run apachectl -S to review vhost mapping

Detailed fix by platform

Linux

  1. apachectl -S and openssl x509 -in cert.pem -noout -ext subjectAltName

How to diagnose

  1. ServerName — In SAN?
  2. Cert — Right file per vhost?
  3. Default — Catch-all vhost?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

AH00558 — Apache: AH00558: apache2: Could not reliably determine the server's fully qualified domain name (Nginx / Apache)AH00558CAA record forbids issuance — Let's Encrypt/CA: CAA record for example.com prevents issuance (SSL / TLS)CAA record forbids is…certificate does not have a private key (IIS) — Windows/IIS: A specified logon session does not exist / The certificate does not have a private key associated with it (SSL / TLS)certificate does not …Certificate pinning failure! — Android/OkHttp: javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure! Peer certificate chain: sha256/... Pinned certificates for api.example.com (SSL / TLS)Certificate pinning f…Cloudflare Origin CA not trusted — NET::ERR_CERT_AUTHORITY_INVALID with a Cloudflare Origin Certificate (record not proxied) (Cloudflare)Cloudflare Origin CA …Could not establish trust relationship for the SSL/TLS secure channel — .NET: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel (SSL / TLS)Could not establish t…curl: (60) SSL certificate problem — curl: (60) SSL certificate problem: unable to get local issuer certificate (SSL / TLS)curl: (60) SSL certif…DEPTH_ZERO_SELF_SIGNED_CERT — Node/OpenSSL: Error: self signed certificate (code: DEPTH_ZERO_SELF_SIGNED_CERT) (SSL / TLS)DEPTH_ZERO_SELF_SIGNE…AH01909: …

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.