How to Fix NET::ERR_CERT_COMMON_NAME_INVALID in Google Chrome

While attempting to load a secure website in Google Chrome, you may encounter an intimidating warning screen displaying the error code NET::ERR_CERT_COMMON_NAME_INVALID along with the message “Your connection is not private.” This security stop occurs when the domain name specified in the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) certificate presented by the web server does not match the exact hostname typed into your browser address bar.

Google Chrome enforces strict verification of the Subject Alternative Name (SAN) extension within digital certificates. When a discrepancy occurs, Chrome blocks the connection to protect sensitive authentication data from potential man-in-the-middle attacks. However, this error is frequently triggered by client-side factors including local DNS cache desynchronisation, third-party antivirus SSL inspection, or incorrect system date and time settings. Follow these proven steps to diagnose and resolve the issue.

Check for Subdomain and WWW Discrepancies

The most straightforward cause of a common name mismatch is navigating to a website variation that is not explicitly covered by the server’s digital certificate.

  1. Inspect the URL currently in your address bar.
  2. If the address includes www. (for example, https://www.example.com), remove the prefix and attempt loading https://example.com directly.
  3. Conversely, if accessing the apex naked domain, add www. to test if the certificate was issued exclusively for the prefixed host.
  4. If the site uses custom staging or internal subdomains (such as portal.example.com), verify that the site owner has deployed a wildcard certificate (*.example.com) rather than a single-domain certificate.

Synchronise Operating System Date and Time

Digital certificates are cryptographically validated against specific validity windows defined by “Not Before” and “Not After” timestamps. If your system clock is skewed, Chrome may assess certificate validity against incorrect temporal references.

  • Press Win + I to open Settings in Windows and navigate to Time & Language > Date & Time.
  • Ensure both Set time automatically and Set time zone automatically are switched on.
  • Click Sync now under Additional settings to force immediate clock synchronisation with the Windows time server pool (time.windows.com).
  • On macOS, navigate to System Settings > General > Date & Time, toggle automatic time off and back on, and restart Chrome.

Flush Operating System and Chrome DNS Caches

If a domain recently changed hosting providers or updated its SSL certificates, stale DNS records stored on your machine can route your HTTP requests to an obsolete IP address hosting an outdated certificate.

  1. Flush Chrome internal DNS host resolver cache: open a new tab, navigate to chrome://net-internals/#dns, and click the Clear host cache button.
  2. Clear internal socket pools: navigate to chrome://net-internals/#sockets and click Flush socket pools.
  3. Flush Windows DNS resolver: press Win + X, select Terminal (Admin), and run:
    ipconfig /flushdns
  4. Restart Google Chrome and attempt to reconnect to the secure destination.

Disable HTTPS Scanning in Antivirus and Firewall Software

Many commercial security suites (such as Avast, Bitdefender, ESET, or Kaspersky) inject their own local root certificate into your system to decrypt and inspect encrypted HTTPS traffic. If the antivirus certificate store becomes corrupted, Chrome flags all intercepted connections as common name invalid.

  • Open your third-party antivirus protection dashboard.
  • Navigate to Web Shield, Network Protection, or Core Shields settings.
  • Locate options named Enable HTTPS scanning, Scan encrypted connections, or Check SSL/TLS protocols.
  • Temporarily disable this feature, restart Chrome, and test the target website. If the page loads normally, reinstall your security software to generate fresh local authority certificates.

Inspect Certificate Subject Alternative Names (SAN)

To determine definitively whether the fault lies on the web server side rather than your local workstation, you can inspect the certificate details directly within Chrome Developer Tools.

  1. On the error screen in Chrome, click Advanced.
  2. Click the link reading Proceed to [domain] (unsafe) only if you are confident the destination is a safe internal resource.
  3. Alternatively, click the red Not secure warning badge in the address bar and select Certificate is not valid.
  4. In the Certificate Viewer dialogue, inspect the Issued To Common Name (CN).
  5. Switch to the Details tab, scroll down to Extension: Subject Alternative Name, and verify whether the specific domain you typed appears in the SAN list. If absent, the site administrator must re-issue the certificate with appropriate multi-domain coverage.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.