User Agents

Web browsers and everyday web tech, explained

Chrome Invalid Certificate: How to Fix Permanently

· 6 min read · Browsers

In this article
  1. What Causes the Invalid Certificate Error in Chrome
  2. How to Diagnose the Exact Certificate Problem
  3. Permanent Fix for Site Owners: Get a Trusted Certificate
  4. Permanent Fix for Users: Trust the Correct Certificate
  5. Common Misconception: "Proceed Anyway" Is Not a Fix
  6. How to Avoid Future Certificate Errors
  7. Frequently Asked Questions

To fix a Chrome invalid certificate error permanently, you must install the correct certificate on the device or server, or replace the site's certificate with one issued by a trusted Certificate Authority (CA). If the error appears on your own site, the permanent fix is to configure the web server with a valid certificate from a recognized CA and ensure no intermediate certificates are missing. If the error appears on a site you visit, the permanent fix is to update the system's trusted root store or install the organization's private CA certificate, not to click through the warning.

What Causes the Invalid Certificate Error in Chrome

Chrome displays a "Your connection is not private" or "NET::ERR_CERT_*" error when it cannot verify the identity of the website's SSL/TLS certificate. The underlying causes fall into a few categories:

  • Expired certificate – The certificate's validity period has ended.
  • Hostname mismatch – The certificate was issued for a different domain than the one you are visiting.
  • Untrusted issuer – The certificate was signed by a CA that Chrome does not recognize, such as a self-signed certificate or a private corporate CA.
  • Missing intermediate certificate – The server did not send the full certificate chain, so Chrome cannot trace the certificate back to a trusted root.
  • Incorrect system clock – If your device's date and time are wrong, Chrome may think the certificate is expired or not yet valid.

Each cause requires a different fix, so the first step is to identify which specific error code Chrome shows (e.g., NET::ERR_CERT_DATE_INVALID, NET::ERR_CERT_AUTHORITY_INVALID).

How to Diagnose the Exact Certificate Problem

Before making changes, you need to know exactly why Chrome is rejecting the certificate. Follow these steps:

  1. Click the padlock icon (or "Not secure" text) in the address bar, then click "Certificate" or "Connection is secure" to view details.
  2. In the certificate viewer, check the "Issued To" and "Issued By" fields, the validity period, and the "Subject Alternative Name" (SAN) field.
  3. Compare the domain in the address bar with the SAN entries. If they don't match, that's a hostname mismatch.
  4. Check the certificate chain: if any intermediate certificates are missing, the chain will show a broken link.
  5. Verify your system date and time in your OS settings (Windows, macOS, Linux, Android, iOS).

If you are the site owner, use an online SSL checker or OpenSSL command (openssl s_client -connect example.com:443 -showcerts) to see the full chain from the server's perspective.

Permanent Fix for Site Owners: Get a Trusted Certificate

If you control the website, the only permanent fix is to install a certificate from a CA that Chrome trusts by default. Chrome trusts certificates issued by public CAs like Let's Encrypt, DigiCert, Sectigo, and GlobalSign, among others. Steps:

  1. Generate a private key and a Certificate Signing Request (CSR) on your server.
  2. Submit the CSR to a CA and complete domain validation (e.g., via email, DNS record, or HTTP file).
  3. Download the issued certificate and any intermediate certificates provided by the CA.
  4. Install the certificate on your web server (Apache, Nginx, IIS, etc.) and configure it to send the full chain, including intermediates.
  5. Test with an SSL checker to ensure the chain is complete and the certificate is trusted.

Self-signed certificates are never trusted by Chrome unless you manually add them to the system's trusted root store, which is not a permanent solution for public websites because visitors would each need to install your certificate.

Permanent Fix for Users: Trust the Correct Certificate

If you are visiting a site and see the error, the permanent fix depends on the situation:

  • If the site is legitimate and uses a private CA (e.g., corporate intranet): Obtain the root certificate from your IT department and install it into your system's trusted root store (Windows: certmgr.msc; macOS: Keychain Access; Linux: update-ca-certificates). After installation, restart Chrome.
  • If the site is public and the certificate is self-signed: Do not trust it permanently. The site owner should replace it with a publicly trusted certificate. Clicking "Advanced" and "Proceed" only bypasses the warning for that session and does not fix the underlying issue.
  • If the error is due to your system clock: Set the correct date, time, and time zone in your OS settings. This is a permanent fix if the clock was the only problem.

Never export a private certificate from a website to add to your trust store; you only need the public root certificate from the organization's CA.

Common Misconception: "Proceed Anyway" Is Not a Fix

Many users believe clicking "Advanced" and then "Proceed to [site]" (unsafe) permanently removes the warning. It does not. Chrome only allows this for the current session and the specific domain, and it will show the error again on your next visit. Moreover, proceeding on a site with an invalid certificate exposes you to man-in-the-middle attacks, where an attacker could intercept your data. The only safe permanent fix is to resolve the certificate issue itself.

How to Avoid Future Certificate Errors

To minimize the chance of encountering invalid certificate errors again:

  • For site owners: enable automatic certificate renewal (e.g., Let's Encrypt's certbot) and set up monitoring alerts for expiration.
  • For users: keep your operating system and browser updated, as they include the latest trusted root certificates.
  • For corporate environments: deploy the private CA certificate via group policy or mobile device management so all devices trust it automatically.
  • Always check the certificate details before entering any sensitive information, especially on sites that ask for login credentials.

Frequently Asked Questions

Why does Chrome say "NET::ERR_CERT_AUTHORITY_INVALID" even though the site is legitimate?

This error means the certificate's issuer is not recognized by Chrome. It often happens on sites using a private CA (like a company's internal CA) or when the server is missing intermediate certificates. The site owner must fix the chain, or you must install the private root certificate if the site is internal.

Can I permanently ignore the warning for a specific site?

No, Chrome does not provide a built-in way to permanently bypass the warning for a specific site. You could add the site's certificate to your trusted root store, but that is only safe if you fully trust the site owner and are sure the certificate is legitimate. For public sites, it is better to avoid the site until the owner fixes the certificate.

Does clearing my browser cache fix the invalid certificate error?

No. Clearing cache or cookies does not affect certificate validation. The error is based on the certificate presented by the server and your system's trust store. The only cache-related exception is if you have an old cached certificate from a previous visit, but that is rare and usually resolves with a hard refresh.

What should I do if the error appears on a website I run?

Check the certificate's expiration date and ensure the server is sending the full chain. If the certificate is self-signed, replace it with one from a public CA. If it is from a public CA but still untrusted, reinstall the intermediate certificates. Use an SSL checker to verify the chain from an external perspective.

Is it safe to proceed to a site with an invalid certificate if I'm just browsing?

No. Proceeding means your connection is not encrypted with a verified certificate, so any data you send (including passwords or personal info) could be intercepted. Even if the site appears legitimate, the invalid certificate could be a sign of a man-in-the-middle attack.