Code: ERR_CERT_COMMON_NAME_INVALID Web Browser Errors Est. Time: 4 mins Level: Easy

Your Connection Is Not Private ERR_CERT_COMMON_NAME_INVALID

Fix ERR_CERT_COMMON_NAME_INVALID SSL mismatch warnings by verifying www vs non-www URLs, device clocks, public Wi-Fi login portals, and HTTPS inspection.

Authored by SolveKits Team • Last updated:

Overview & Technical Context

Encountering Chrome’s red "Your connection is not private" warning with NET::ERR_CERT_COMMON_NAME_INVALID means the HTTPS TLS certificate presented by the server covers a DIFFERENT domain name (Subject Alternative Name / Common Name) than the exact hostname sitting in your address bar. Unlike expired certificates (ERR_CERT_DATE_INVALID), COMMON_NAME_INVALID exposes genuine domain mismatches: visiting www.site.com when an SSL cert covers only site.com, public airport/cafe Wi-Fi captive portals hijacking HTTPS traffic silently, overzealous antivirus HTTPS scanning substituting its own proxy root certificate wrongly, or misconfigured local hosts overrides. Checking the exact address, Wi-Fi login portal, and HTTPS scanner certificates keeps browsing genuinely secure.

Specific Symptoms

  • Chrome blocks access displaying a red padlock and NET::ERR_CERT_COMMON_NAME_INVALID under Advanced.
  • The site opens cleanly via bare domain.com while typing www.domain.com (or vice versa) fails validation.
  • Every website suddenly shows NET::ERR_CERT_COMMON_NAME_INVALID on coffee-shop, hotel, or airline Wi-Fi.
  • Clicking Certificate is not valid shows the certificate issued to a corporate firewall, router login page, or AV vendor instead of the destination website.

Why This Error Occurs

  • Hotel/airport Wi-Fi captive portals intercept HTTPS requests to show a login acceptance page.
  • Site server misconfigured SSL Subject Alternative Names (SAN) omitting either www or root apex domain.
  • Third-party antivirus SSL/HTTPS Web Shield scanning re-signs certificates inconsistently.
  • Wrong local DNS cache or stale hosts file routes a domain onto the wrong web server IP.

Troubleshooting Steps

1

Check the URL spelling and inspect the Certificate viewer

Verify https:// spells the domain cleanly, and test toggling www. (https://example.com vs https://www.example.com) if a small business misconfigured its cert. Click the red Not secure icon beside the address bar → Certificate is not valid → inspect Issued To to confirm whether an unexpected hotel firewall or security proxy returned the cert instead of the real site.

2

Clear public Wi-Fi captive portals via a non-HTTPS trigger

On hotel, airport, or cafe Wi-Fi, open a new browser tab directly to http://neverssl.com or http://captive.apple.com over plain HTTP—this immediately loads the Wi-Fi terms-and-conditions sign-in portal without tripping HTTPS certificate warnings, after which normal encrypted sites work smoothly.

3

Verify OS clock, flush DNS, and avoid outdated TLS scanners cleanly

Ensure system Date & time stays set to Automatic (Set time automatically), run ipconfig /flushdns on Windows (clearing stale server IPs), and check whether third-party security suite HTTPS Scanning / Encrypted Web Scan broke certificates cleanly inside its own settings (rather than killing real-time virus protection entirely).

ipconfig /flushdns
4

Inspect proxy settings and Hosts file for unintended overrides

Check Windows Settings → Network & internet → Proxy to ensure no dead local proxy script redirects requests, disconnect VPNs temporarily, and inspect C:\Windows\System32\drivers\etc\hosts in Notepad (read-only) to confirm the hostname isn’t pinned to an obsolete test server IP.

What to Check If the Issue Continues

Important safety rule: NEVER click Proceed to site (unsafe) on banking, shopping, email, or login portals showing ERR_CERT_COMMON_NAME_INVALID, because real Man-in-the-Middle attacks on untrusted Wi-Fi look identical. If you run the website yourself, regenerate an SSL/TLS certificate (such as Let’s Encrypt / Cloudflare Universal SSL) covering both root example.com and www.example.com SAN entries.

Frequently Asked Questions

Why does neverssl.com fix hotel Wi-Fi SSL certificate errors?

Hotel routers try to redirect your browser to their Wi-Fi login page, yet modern browsers enforce HSTS and strict TLS checks on HTTPS sites (google.com), refusing the forged redirect with ERR_CERT_COMMON_NAME_INVALID. Visiting an intentional plain-HTTP site like neverssl.com safely lets the login page open.

Can browser extensions trigger ERR_CERT_COMMON_NAME_INVALID?

Rarely proxy/VPN extensions redirect browser sockets toward misconfigured relay servers; testing in an Incognito window with extensions paused isolates extension-driven routing problems.

Why is the SSL Common Name field considered legacy compared to SAN?

Modern browsers (Chrome, Firefox, Safari) completely ignore the old single CN field and validate strict Subject Alternative Name (SAN) DNS entries inside X.509 certificates—if an admin generated an old CSR without SAN, Chrome immediately flags ERR_CERT_COMMON_NAME_INVALID.

Could clearing SSL state inside Windows Internet Options help?

Yes! Opening Windows Internet Options → Content → Clear SSL state clears cached intermediate certificate chains after a website renews or replaces a broken cert.

Search Another Error or Symptom

Search all 292 guides and tools on SolveKits: