ERR_CERT_AUTHORITY_INVALID JavaScript Origin: On your device Last updated 11 Oct 2026

NET::ERR_CERT_AUTHORITY_INVALID (Your connection is not private)

The site’s certificate isn’t signed by a CA the browser trusts — self-signed, missing intermediates, or intercepted by a proxy.

Exact message you may see Your connection is not private
Seen on: JavaScript

Meaning

Self-signed certs in development, servers missing the intermediate chain, and corporate/antivirus HTTPS inspection all show this warning.

Common causes

  • Self-signed certificate
  • Server not sending the intermediate chain
  • Corporate proxy / antivirus HTTPS interception

⚡ Quick fix

  1. Install a certificate from a public CA (Let’s Encrypt)
  2. Serve fullchain.pem
  3. For local dev use mkcert to create a trusted local CA

Detailed fix by platform

Linux

  1. mkcert -install && mkcert localhost 127.0.0.1

How to diagnose

  1. Chain — Does SSL Labs/openssl show a complete chain?
  2. Network — Proxy intercepting?

🔧 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: On your device. Errors that are often confused with or caused by this one (click to open):

1013 — Cloudflare Error 1013: HTTP hostname and TLS SNI hostname mismatch (Cloudflare)1013421 — HTTP 421 Misdirected Request (HTTP)421A TLS error caused the secure connection to fail — Safari: Safari Can’t Open the Page — A TLS error caused the secure connection to fail (Browser)A TLS error caused th…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-by-…autoplay blocked — NotAllowedError: play() failed because the user didn't interact with the document first. (JavaScript)autoplay blockedcaptive portal — Browser: This network requires you to sign in — captive portal (hotel, airport, café Wi-Fi) blocking HTTPS sites (Browser)captive portalCERTIFICATE_VERIFY_FAILED — SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate (API)CERTIFICATE_VERIFY_FA…clipboard write blocked — NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused. (JavaScript)clipboard write block…ERR_CERT_…

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.