Protect Your Site, Build Trust
Discover practical solutions to fix all SSL and security errors quickly and keep your website safe and reliable.
Google reCAPTCHA used. Privacy Policy and Terms of Service apply
The NET::ERR_CERT_COMMON_NAME_INVALID error occurs when there is a mismatch between the browser’s URL and the domain listed on the website’s SSL certificate.
This error message can be frustrating, but the good news is that SSL errors are usually easy to fix with some straightforward steps.
With this guide, we’ll explain the causes of this error and provide nine proven methods to resolve it.
Protect Your Site, Build Trust
Discover practical solutions to fix all SSL and security errors quickly and keep your website safe and reliable.
Google reCAPTCHA used. Privacy Policy and Terms of Service apply
Browsers display this error to protect users from potentially insecure connections or malicious sites. However, this error can also occur due to SSL misconfigurations or issues with the website’s setup.
We’ll explore the most common reasons in more detail below.
Several factors can trigger the NET::ERR_CERT_COMMON_NAME_INVALID error. These include:
Let’s dive into specific troubleshooting steps.
Use an online SSL Checker to confirm the certificate’s details, including its common name and expiration date.
If the results show errors with the name or expiration date, reinstall the SSL on your web server or contact the CA (certificate authority) for assistance.
The Subject Alternative Name (SAN) field allows a single SSL certificate to cover multiple domains or subdomains. For multi-domain websites, make sure the SAN fields on your certificate cover all intended domains or subdomains.
If the domain or subdomain is not listed correctly in the SAN field, it may trigger the error. To verify SAN fields:
Click the padlock icon in your browser’s address bar > Select Certificate/Connection is secure > Check the Certificate Subject Alternative Name section in the certificate details.
Update the SSL certificate if any domain is missing.
If you are redirecting the non-www version of your website to www, and your SSL certificate only covers yourdomain.com, you would trigger the ERR_CERT_COMMON_NAME_INVALID.
You can fix this by installing a new SSL certificate on yourdomain.com that also covers the www version, or by installing a separate SSL certificate on www.yourdomain.com
In WordPress, mismatched URLs in your site settings can cause SSL certificate errors. If your site’s URL is set to HTTPS instead of HTTP, and you do not have an SSL certificate installed, it can lead to the NET::ERR_CERT_COMMON_NAME_INVALID error.
The recommended solution is to install an SSL certificate on your domain so your website runs through HTTPS.
Alternatively, you can set WordPress to use HTTP, so you can access your website until you are able to install an SSL.
Here’s how to fix this:
Go to Settings > General in your WordPress dashboard and set both the WordPress Address (URL) and Site Address (URL) fields to use the HTTP version of your domain.
If you’ve already updated the URLs in the settings but still see the same error, the HTTPS URLs might be hardcoded in the database.
Use a plugin to search for HTTPS links and replace them with HTTP. Alternatively, run a query in phpMyAdmin to update the URLs in the database.
Windows devices store SSL cache in the OS, which browsers use when loading a website. Clearing your SSL state helps remove old, cached SSL certificates that might be causing issues, especially after updates or changes to your SSL certificate.
To clear the SSL state:
In Windows, open the Internet Options > go to the Content tab > click Clear SSL State.
This can often resolve a mismatch error where an outdated or incorrect certificate is cached, preventing secure connections.
Sometimes, the browser’s cache stores outdated SSL certificates or settings, which can lead to security errors.
Clearing your browser cache means the most recent version of the site and its certificate is loaded.
Browser extensions can sometimes interfere with SSL certificates and cause the NET::ERR_CERT_COMMON_NAME_INVALID error.
The easiest way to test this is to open the site in incognito mode. This disables all extensions by default. If the page loads properly in private mode, disable your extensions one by one to isolate the issue.
To Disable Extensions One by One:
Outdated browsers or operating systems may not support the latest SSL/TLS protocols, causing certificate errors like NET::ERR_CERT_COMMON_NAME_INVALID.
Keeping your browser and OS up to date maintains compatibility with newer SSL certificates. Here’s how to update:
A misconfigured proxy server can result in SSL errors.
To troubleshoot, use Google Chrome to access and reset your proxy settings.
Go to Settings> System > Open your computer’s proxy settings:
On Windows, this will take you to your WiFi’s network settings. Make sure the Automatically detect settings option is toggled on.
On macOS, toggle Automatic Proxy Configuration from the list of Proxy settings.
The NET::ERR_CERT_COMMON_NAME_INVALID error can disrupt website access, but it is typically easy to resolve with the right approach.
By understanding its causes and applying the fixes listed above, you should be able to restore secure access to your site.
To prevent SSL errors, regularly monitor your SSL certificates and make sure they are valid and up-to-date.
If the issue persists, consult with your hosting provider or SSL certificate authority for additional support.
Tackle all SSL errors like an expert! Download our free “How to Fix the Most Common SSL and Security Errors” ebook!