Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Troubleshooting

NET::ERR_CERT_AUTHORITY_INVALID: causes and fixes

NET::ERR_CERT_AUTHORITY_INVALID means the site's certificate is signed by an authority the browser does not trust. The three real causes are a self-signed certificate, a server that omits its intermediate certificate (an incomplete chain), or a network proxy that replaces the certificate with its own.

The short answer
  • Chromium: the certificate is signed by an authority the client does not trust (error -202).
  • On your own server the most common cause is a missing intermediate certificate.
  • If other networks load the site fine, suspect a proxy or antivirus HTTPS interception.
Try the ssl certificate checkerFree, live, no signup

Which of the three causes do you have?

Self-signed vs incomplete chain vs interception
CauseHow it shows upFix
Self-signed certificateSubject and issuer are identical; fails everywhereReplace with a certificate from a public CA
Missing intermediate (incomplete chain)Some devices work, others fail; checkers report an incomplete chainServe the certificate followed by its intermediates
HTTPS interceptionFails only on one network or machine; issuer is a company or antivirus nameAsk the administrator; pause HTTPS scanning

Causes per DigiCert and Chrome Help.

How do you diagnose it on your server?

  1. 01

    List what the server really sends

    Run openssl s_client with -showcerts. The list is in the order sent, and it is not a verified chain, so it shows what is present, not whether it is trusted.

  2. 02

    Compare issuer and subject

    If the first certificate has the same subject and issuer, it is self-signed. If its issuer is not in the list and not a root, an intermediate is missing.

  3. 03

    Check the file order

    nginx expects the primary certificate first, then the intermediates, in the same file.

  4. 04

    Test from outside

    Run an SSL checker on the public hostname. Let's Encrypt notes that failing to provide the correct chain is the most common cause when some platforms trust a certificate and others do not.

What does a correct chain setup look like?

nginx and OpenSSL
# nginx: server certificate first, then intermediates, in one file
ssl_certificate     /etc/nginx/certs/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/example.key;

# Show every certificate the server sends, in order
openssl s_client -connect example.com:443 -servername example.com -showcerts

Browsers can hide an incomplete chain

Some browsers cache intermediates or fetch them on their own, so the site can look fine on your laptop and fail on phones, curl or API clients. Always test with a tool that does not use your browser cache.

What should you verify after fixing the chain?

  • openssl s_client -showcerts lists the leaf certificate followed by its intermediate certificate(s)
  • The leaf certificate is first in the file, as nginx expects
  • curl without any flags succeeds from a clean machine or container
  • An older Android device or a script client also connects, not only your own browser
  • No self-signed certificate remains on any public hostname, including staging subdomains
  • The renewal process writes the full chain file, so the next renewal does not reintroduce the problem

Common questions

What does NET::ERR_CERT_AUTHORITY_INVALID mean?

The browser could not build a trusted path from the site certificate to a root authority it trusts. The certificate is signed by an issuer the client does not recognize, because it is self-signed, the intermediate is missing, or a proxy swapped it.

How do I fix ERR_CERT_AUTHORITY_INVALID as a visitor?

Try another network and device first. If it only fails on one, follow Chrome's steps: sign in to public Wi-Fi, try Incognito, update the operating system and temporarily turn off antivirus HTTPS scanning. On a work computer, contact the administrator.

Is a self-signed certificate ever acceptable?

For internal tools and testing where you control the clients, yes, if you install the certificate as trusted on those clients. On a public website it will always raise this error, so use a certificate from a public CA.

Why does the site work in my browser but fail in curl?

Browsers can fetch or cache missing intermediate certificates, while curl checks only the chain the server sends against its CA bundle. A failure in curl usually reveals an incomplete chain on the server or a missing CA store on the client.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.