A visitor lands on your site and instead of your homepage they see a full-screen warning: "Your connection is not private." Below it sits a code like NET::ERR_CERT_COMMON_NAME_INVALID or NET::ERR_CERT_DATE_INVALID. Most people won't click past that warning, and they shouldn't have to.
These errors mean the browser couldn't confirm your site's SSL certificate is valid for the address being visited. Each code points to a different reason. This guide explains what each one means, how to check your certificate, and how to fix the problem.
First, is it your site or the visitor's device?
Some certificate errors come from the visitor's computer rather than your server. Before changing anything, check:
- Does the error appear on other devices and networks, like your phone on mobile data?
- Does an online SSL checker report a problem with your domain?
- Is the device's date and time correct?
If the site works everywhere except one device, the problem is probably local, such as a wrong clock, antivirus software that inspects HTTPS traffic, or a public Wi-Fi network that intercepts connections.
How to inspect your certificate
You can see the certificate details in the browser by clicking the icon to the left of the address bar and opening the certificate information. Look at:
- Issued to (the domain names the certificate covers)
- Issued by (the certificate authority)
- Valid from / to dates
From a terminal, you can check the server directly:
openssl s_client -connect example.com:443 -servername example.com
An online SSL test tool will also show the certificate chain, expiry date and any configuration problems.
The common errors and how to fix them
NET::ERR_CERT_COMMON_NAME_INVALID
Meaning: The certificate doesn't cover the exact domain name in the address bar.
Common causes:
- The certificate covers
example.combut notwww.example.com(or the other way around) - A new subdomain or addon domain hasn't been issued a certificate yet
- DNS points the domain to a different server, which is serving another site's certificate
- A shared server is showing its default certificate because your domain isn't configured there
Fix:
- Confirm the domain's DNS points to the right server.
- Issue a certificate that includes every name you use. In cPanel, run SSL/TLS Status and click Run AutoSSL. In DirectAdmin, use SSL Certificates to request a free Let's Encrypt certificate and include both the main and
wwwnames. - If you just changed DNS, wait for it to update, then reissue the certificate. Free certificate authorities validate the domain by reaching your server, so validation fails if DNS still points elsewhere.
NET::ERR_CERT_DATE_INVALID
Meaning: The certificate has expired, or the visitor's clock is wrong.
Common causes:
- Automatic renewal failed (often because DNS changed, a CDN blocked validation, or a redirect broke the validation path)
- A manually installed certificate wasn't renewed
- The visitor's device date is incorrect
Fix: Check the expiry date. If it's expired, renew it through your control panel's AutoSSL or Let's Encrypt tool, or install the renewed certificate from your provider. Then find out why automatic renewal failed so it doesn't happen again. Free certificates are short-lived, so renewal must work automatically.
NET::ERR_CERT_AUTHORITY_INVALID
Meaning: The browser doesn't trust whoever issued the certificate.
Common causes:
- A self-signed certificate, often created automatically by a server or control panel
- A missing intermediate certificate (the chain is incomplete)
- A certificate from an authority that browsers don't trust
Fix: Replace self-signed certificates with one from a trusted authority. Free options through AutoSSL or Let's Encrypt are trusted by all major browsers. If you installed a paid certificate manually, make sure you also installed the CA bundle (intermediate certificates) that came with it.
NET::ERR_CERT_REVOKED
Meaning: The certificate authority has revoked the certificate, sometimes because a key was compromised or the certificate was issued incorrectly.
Fix: Request a new certificate, ideally with a new private key, and install it.
ERR_SSL_PROTOCOL_ERROR and ERR_SSL_VERSION_OR_CIPHER_MISMATCH
These aren't certificate errors exactly, but they look similar. They mean the browser and server couldn't agree on a secure connection. Causes include no certificate installed for that domain at all, outdated TLS settings, or a CDN that doesn't yet have a certificate for a new domain. Check that a certificate is installed for the exact domain and that your server supports modern TLS versions.
SSL errors caused by a CDN or proxy
If your site uses a CDN, there are two connections: visitor to CDN, and CDN to your server. Each needs a valid certificate.
- The CDN's edge certificate covers what visitors see.
- Your hosting server's certificate covers the CDN-to-server connection when using strict modes.
If the server certificate is expired or missing, a CDN in strict mode will show its own error page. Keep your origin certificate valid, even if visitors never see it directly.
When the padlock works but shows a warning
If the certificate is valid but the browser still shows "Not secure" or a broken padlock, your page is probably loading some images or scripts over http://. That's mixed content, covered in our guide on fixing mixed content.
Preventing certificate errors
- Make sure every domain and subdomain you use is included in a certificate.
- Rely on automatic renewal, and check that it's working after DNS or CDN changes.
- Avoid self-signed certificates on public sites.
- Set a calendar reminder to check expiry if you use a manually installed certificate.
- Use a free uptime or SSL monitoring service that warns you before expiry.
Running your own server? Our guide to installing Let's Encrypt with Certbot on a VPS covers setup and automatic renewal.
Wrapping up
SSL certificate errors look serious, but most come down to one of three things: the certificate doesn't cover the domain name, it has expired, or it wasn't issued by a trusted authority. Read the error code, inspect the certificate, and reissue or renew it through your control panel. Then make sure automatic renewal is working, so your visitors never see that warning again.