Skip to content

How to Fix NET::ERR_CERT_AUTHORITY_INVALID

The browser does not trust the issuer of the certificate. Causes include self-signed certificates, a missing intermediate, a rewritten connection or an outdated device.

10 min readUpdated Nov 21, 2026By XPASS Editorial Team

How to Fix NET::ERR_CERT_AUTHORITY_INVALID

Few browser messages cause as much worry as NET::ERR_CERT_AUTHORITY_INVALID. The page is replaced by a warning, usually in red, and the code is not very friendly. In plain terms it says: "A certificate was offered, but I cannot connect it to an authority I trust." The certificate may be perfectly good in other respects, with the right name and the right dates. What the browser cannot do is build a trusted path from it to a root certificate in its trust store.

That path can fail for several different reasons, and the right action depends on which one applies. This guide walks through the common causes from both sides: what a visitor can check on their own device, and what a site owner should look at on the server. If you are new to the idea of a chain of certificates, read the walkthrough on verifying an SSL certificate chain first, because most of the fixes below rely on it.

What "authority invalid" actually means

A browser comes with, or relies on the operating system for, a list of trusted root certificates. A site certificate is accepted only if the browser can follow signatures from that certificate through any intermediate certificates to one of those roots. The rules for building and validating that path are described in RFC 5280.

NET::ERR_CERT_AUTHORITY_INVALID is shown when this path cannot be completed. The browser does not say which part failed, but the typical reasons fall into four groups:

  1. The certificate is self-signed. It was signed by its own key and no trusted authority vouches for it.
  2. The chain is incomplete. The server did not send the intermediate certificate that links the site certificate to a trusted root.
  3. The issuer is not trusted on this device. The issuing authority is private, new, or no longer in the device's trust store, for instance on an old operating system.
  4. Something is replacing the certificate in transit. A network device, security program or intercepting portal presents its own certificate that the device does not trust.

Separate from these are the date problem described in ERR_CERT_DATE_INVALID and the name problem described in certificate name mismatch. Those have their own error codes, but in practice a site can suffer from more than one problem at a time.

For visitors: what to check first

If you are only trying to open a website and are not its owner, you have limited control, but a few checks are useful.

  1. Check the address. Make sure you typed or clicked the correct domain. A misspelled or lookalike domain with a poor certificate is a classic warning sign.
  2. Try another network. Switch from public Wi-Fi to mobile data, or the other way round. If the warning disappears, the first network was interfering with the connection or presenting its own certificate.
  3. Check the date and time on your device. A wrong date can break trust decisions. See the guide on date errors if the year is wrong.
  4. Update your system. Old operating systems and old browsers stop receiving updates to their lists of trusted roots. A site that uses a newer authority may fail only on such devices.
  5. Look at the certificate details. Click the warning, open the certificate and read who issued it. If the issuer's name belongs to your workplace, school or a security program, then something on your side is inspecting traffic.
  6. Report it. If the site belongs to a business, tell them. They can only fix what they know about.

Do not click through the warning on any site where you will enter a password, a payment card or personal details until you understand the cause. The browser is telling you it cannot confirm who is on the other end. For general background on what the padlock does and does not promise, the Cloudflare explainer on HTTPS is a readable companion.

For site owners: cause 1, a self-signed or private certificate

A self-signed certificate is common on test servers, routers, internal tools and default installations of server software. It encrypts the connection but nobody trusted vouches for the identity, so every public visitor will see the error.

How to recognise it: when you inspect the certificate, "issued to" and "issued by" show the same name. With OpenSSL, s_client may print Verify return code: 18 (self-signed certificate) or 19 (self-signed certificate in certificate chain).

How to fix it:

  1. Replace the certificate on any public-facing site with one from a public certificate authority.
  2. Make sure the new certificate covers the exact hostnames visitors use.
  3. Install the full chain, then test again.
  4. If the certificate is for a private internal service, the better route is to run or use a private authority and deliberately install its root on the company devices that need it. Do not ask outside visitors to click through warnings.

For site owners: cause 2, a missing intermediate certificate

This is the most common real-world cause on public sites. The certificate is from a respected authority, but the server sends only the leaf. Some browsers repair the gap using a cache or by downloading the missing intermediate, so the site seems fine to you. Other browsers, mobile apps and command-line tools cannot, so they report an invalid authority.

How to recognise it: the site works on your desktop but not on a phone app, a monitoring service or an API client. openssl s_client -showcerts shows only certificate 0, and the return code is 20 or 21.

How to fix it:

  1. Download the current intermediate bundle from your certificate provider's account area or documentation.
  2. Build a full chain file with your certificate first and the intermediates after it, in PEM format. Or use the separate CA bundle field if your panel has one.
  3. Install it, then reload the web server, proxy or load balancer.
  4. Test again with openssl s_client -connect host:443 -servername host and confirm Verify return code: 0 (ok).

The details of reading the output are covered in the guide to verifying the certificate chain, so keep it handy.

For site owners: cause 3, an issuer the device does not know

Trust stores are updated over time. A device that no longer receives updates may not know a recent root. Conversely, a site that uses a private or niche authority may never be trusted by consumer devices at all.

How to recognise it: the error appears on older phones, older smart TVs, older Windows or Android versions and embedded devices, while modern devices are fine.

How to fix it:

  • Ask your provider whether they offer an alternative chain that is compatible with older clients, and install that one if you need to support such devices.
  • Decide whether supporting very old devices is worth it. Sometimes the right answer is to tell users to update.
  • For private authorities, distribute the root deliberately to the devices that need it, and keep a record of where it was installed.

Cause 4: a connection that is being rewritten

Some networks and programs inspect encrypted web traffic. Corporate firewalls, school filters, certain antivirus programs and some public Wi-Fi portals do it by presenting their own certificate in place of the site's. If the device has been configured to trust that certificate, you do not notice. If not, the browser shows an authority error on many unrelated sites at once.

How to recognise it: the warning appears on many different websites at the same time, on one network or one computer, and the issuer shown in the certificate is not a public authority but the name of a network device or a security product.

What to do:

  • Compare with another network. If the error disappears, the cause is the first network.
  • On a managed device at work or school, ask the administrator, because they may provide the proper root certificate or may block the site on purpose.
  • On your own computer, check whether a security program has an option that scans encrypted connections, and whether it was installed correctly.
  • Never install an unknown root certificate because a web page told you to. A root you install can vouch for any site, so only add one that comes from an administrator you trust.

A worked example

A small business owner launches a new landing page at promo.example.com. A colleague on a phone reports a red warning with NET::ERR_CERT_AUTHORITY_INVALID. On the owner's laptop, the page opens normally.

  1. The owner tries the phone on mobile data and the warning remains, so the network is not the cause.
  2. On the laptop, the certificate viewer shows a certificate issued by a known authority, and its dates are fine. The name matches.
  3. The owner runs openssl s_client -connect promo.example.com:443 -servername promo.example.com -showcerts. Only one certificate appears, and the return code is 21 (unable to verify the first certificate).
  4. The conclusion is that the laptop's browser fills the gap, but the phone does not. The server is sending only the leaf.
  5. The owner downloads the intermediate bundle from the certificate provider, creates a full chain file with the leaf first, and installs it. Then the owner reloads the web server.
  6. The command now shows two certificates and Verify return code: 0 (ok). The colleague refreshes the page on the phone and the warning is gone.
  7. The owner writes a short note into the team's deployment checklist: "Always install the full chain and test with OpenSSL from outside."

Summary table of causes

Cause Typical sign Fix
Self-signed certificate Issuer and subject are the same, return code 18 or 19 Use a certificate from a public authority
Missing intermediate Works on desktop, fails on apps and tools, return code 20 or 21 Install the full chain and reload
Old device without the new root Only older phones, TVs or systems fail Use an alternative compatible chain or advise updating
Private authority Works only on devices where the root was installed Distribute the root deliberately to managed devices
Network or software rewriting traffic Many sites fail at once on one network or computer Compare networks and ask the administrator
Wrong clock on the device Several certificate errors at once Set date, time and time zone automatically

Limits and what to watch for

  • Do not fix this by disabling checks. Turning off certificate verification in an app or script removes the protection the certificate was meant to give. Fix the chain instead.
  • Do not share private keys. Diagnosing an authority problem never requires you to send your private key to anyone.
  • One tool is not enough. Browsers, OpenSSL, mobile libraries and online checkers behave differently. Use at least two and understand any difference.
  • Do not install random roots. A root certificate can vouch for any website. Install only roots that come from a source you trust and understand.
  • Look at all hostnames. The main site might be fine while a subdomain, an admin panel or an API has its own broken certificate.
  • Keep records. After you renew or move a certificate, note where the chain is installed so the next person can repeat the steps.
  • Re-test after changes. A CDN, proxy or load balancer may take a little while to serve the updated certificate.

For background on how public authorities issue and chain certificates, Let's Encrypt explains its process in accessible language, which makes it easier to see why a missing intermediate matters so much.

Summary

NET::ERR_CERT_AUTHORITY_INVALID means the browser cannot trace a site's certificate to an authority it trusts. The usual causes are a self-signed certificate, a missing intermediate, an issuer unknown to an older device, or a network or program that is replacing the certificate. Visitors should check the address, compare networks, update their device and avoid entering sensitive data until the cause is clear. Site owners should inspect the chain with OpenSSL, install a certificate from a public authority together with the full current intermediate bundle, reload the service and test from outside.

When you are ready to set up certificates for your own domains, the SSL certificates page shows what is available.

Frequently asked questions

What does NET::ERR_CERT_AUTHORITY_INVALID mean?

The browser could not trace the site's certificate back to a certificate authority it trusts. The certificate may be self-signed, the server may be missing an intermediate certificate, the issuer may be unknown to the device, or something on the network may be replacing the certificate.

Is it safe to click Advanced and proceed?

Only if you know exactly why the warning appears, for example a test server of your own. On a public site, or whenever you are about to type a password or payment details, do not proceed until the cause is understood.

Why does the error appear only on my work or public network?

Some networks, security software or filtering devices inspect encrypted traffic by presenting their own certificates. If that certificate is not installed as trusted on your device, the browser reports an invalid authority. Try another network to compare.

How can a site owner fix a missing intermediate?

Download the current intermediate bundle from your certificate provider, build a full chain file with your certificate first, install it in your server or panel, reload the service and re-test with OpenSSL.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need an SSL certificate?

Pick the certificate type that fits your site and see the price before you check out.

SSL from $14.99

See SSL certificates

Keep reading

SSL Guides

How to Fix ERR_CERT_DATE_INVALID

ERR_CERT_DATE_INVALID has two common causes: a wrong clock on the visitor's device, or a certificate that really has expired. Here is how to tell them apart and fix each.

9 min read

SSL Guides

How to Fix an SSL Certificate Name Mismatch

A certificate name mismatch means the hostname in the address bar is not on the certificate. Here is how to find the cause and put the right names on the right server.

10 min read

SSL Guides

How to Verify an SSL Certificate Chain

A certificate can look valid in one browser and fail in another because the chain is incomplete. This guide shows how to read, test and repair a chain.

10 min read