TLS/SSL · ERR_CERT_COMMON_NAME_INVALID

TLS/SSL Error Code ERR_CERT_COMMON_NAME_INVALID

The certificate's name does not match the requested host.

fatalLast verified 2026-11-08Chromium net error list
Quick answer

The certificate's name does not match the requested host.

CodeERR_CERT_COMMON_NAME_INVALID
ProductTLS/SSL
Company / originIETF · International standard
CategoryProtocols & Standards
Platform / versionsTLS 1.2, TLS 1.3 · OpenSSL / Node.js clients and servers
Severityfatal
Official sourceChromium net error list ↗
Last verified2026-11-08

What does TLS/SSL error ERR_CERT_COMMON_NAME_INVALID mean?

ERR_CERT_COMMON_NAME_INVALID is a browser error raised when the certificate's common name or SAN does not match the hostname in the URL. Modern clients ignore the common name and require a matching subjectAltName.

Common causes

  • The certificate was issued for a different domain.
  • The www and apex hostnames are not both included.
  • The client is using an internal alias that is not in the certificate.

How to fix it

  1. Step 1

    Reissue the certificate with a SAN that includes every hostname.

  2. Step 2

    Redirect users to the hostname that the certificate actually covers.

  3. Step 3

    Avoid internal aliases that are not present in the certificate.

When to escalate

Before you escalate: If the certificate looks valid in a browser but your client still fails, compare the trust store, SNI hostname, and TLS versions on both sides. Capture the openssl s_client output and the client error, then contact the certificate owner or platform support.

Related codes

CodeNameWhat it means
ERR_TLS_CERT_ALTNAME_INVALIDERR_TLS_CERT_ALTNAME_INVALIDThe certificate does not cover the hostname you requested.
CERT_HAS_EXPIREDCERT_HAS_EXPIREDThe server certificate is past its expiration date.
CERT_NOT_YET_VALIDCertificate Not Yet ValidThe certificate's validity period starts in the future.
DEPTH_ZERO_SELF_SIGNED_CERTDEPTH_ZERO_SELF_SIGNED_CERTThe server presented a self-signed certificate.
ERR_CERT_AUTHORITY_INVALIDERR_CERT_AUTHORITY_INVALIDThe certificate was issued by an untrusted authority.

Source & verification

This page was checked against Chromium net error list on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with IETF. Always confirm destructive or security-sensitive steps with the official documentation.