{"id":5249,"date":"2025-12-10T11:33:41","date_gmt":"2025-12-10T06:03:41","guid":{"rendered":"https:\/\/toolswift.com\/blog\/?p=5249"},"modified":"2025-12-10T11:33:41","modified_gmt":"2025-12-10T06:03:41","slug":"how-to-fix-the-neterr_cert_common_name_invalid-error","status":"publish","type":"post","link":"https:\/\/toolswift.com\/blog\/how-to-fix-the-neterr_cert_common_name_invalid-error\/","title":{"rendered":"How to Fix the NET::ERR_CERT_COMMON_NAME_INVALID Error"},"content":{"rendered":"<p>If you&#8217;ve ever seen the <strong>&#8220;Your connection is not private&#8221;<\/strong> warning with the error code <strong>NET::ERR_CERT_COMMON_NAME_INVALID<\/strong>, you know how frustrating it can be. This SSL error appears when your browser can&#8217;t verify a website&#8217;s security certificate, usually because the domain name doesn&#8217;t match what&#8217;s listed on the certificate. The good news is that this problem is fixable with a few practical steps.<\/p>\n<h2>Why Does This Error Happen?<\/h2>\n<p>The &#8220;common name&#8221; in this error refers to the domain name registered on an SSL certificate. When there&#8217;s a mismatch between what the certificate says and the actual website URL, your browser blocks the connection to protect you. Here are the most common causes:<\/p>\n<ul>\n<li>The <strong>SSL certificate domain<\/strong> doesn&#8217;t match the website&#8217;s actual URL<\/li>\n<li>Your certificate doesn&#8217;t cover both <strong>www and non-www<\/strong> versions of your domain<\/li>\n<li>You&#8217;re using a <strong>self-signed certificate<\/strong> that browsers don&#8217;t trust<\/li>\n<li>There are <strong>misconfigured redirects<\/strong> between HTTP and HTTPS versions<\/li>\n<li>Your <strong>browser cache<\/strong> or SSL state is storing outdated certificate data<\/li>\n<li>A <strong>browser extension<\/strong> or antivirus program is interfering with the connection<\/li>\n<li>Your <strong>proxy settings<\/strong> are incorrectly configured<\/li>\n<li>The browser or operating system is <strong>outdated<\/strong><\/li>\n<\/ul>\n<h2>What This Error Looks Like in Different Browsers<\/h2>\n<p>Each browser displays this error slightly differently, so here&#8217;s what to look for:<\/p>\n<h3>Google Chrome<\/h3>\n<p>Chrome shows <strong>&#8220;Your connection is not private&#8221;<\/strong> with the specific code <strong>NET::ERR_CERT_COMMON_NAME_INVALID<\/strong> listed below the main warning.<\/p>\n<h3>Mozilla Firefox<\/h3>\n<p>Firefox displays <strong>&#8220;Warning: Potential Security Risk Ahead&#8221;<\/strong> or states that the website hasn&#8217;t been configured properly. You might also see the code <strong>SSL_ERROR_BAD_CERT_DOMAIN<\/strong>.<\/p>\n<h3>Safari<\/h3>\n<p>Safari shows <strong>&#8220;Safari can&#8217;t verify the identity of the website&#8221;<\/strong> or mentions that the SSL certificate is invalid. The message is somewhat vague compared to other browsers.<\/p>\n<h3>Microsoft Edge<\/h3>\n<p>Edge displays <strong>&#8220;Your connection isn&#8217;t private&#8221;<\/strong> with a warning that attackers might try to steal your information.<\/p>\n<h2>How to Fix NET::ERR_CERT_COMMON_NAME_INVALID<\/h2>\n<h3>1. Verify Your SSL Certificate Is Correct<\/h3>\n<p>The most common cause is a mismatch between your domain and the certificate&#8217;s common name. Start by checking your certificate details:<\/p>\n<ul>\n<li>Click the <strong>padlock icon<\/strong> (or &#8220;Not Secure&#8221; warning) in your browser&#8217;s address bar<\/li>\n<li>Select <strong>Certificate<\/strong> or <strong>Connection is secure<\/strong> \u2192 <strong>Certificate is valid<\/strong><\/li>\n<li>Check that the domain listed matches the one you&#8217;re trying to access<\/li>\n<\/ul>\n<p>If the domains don&#8217;t match, you&#8217;ll need to remove the current certificate and install a new one that covers the correct domain.<\/p>\n<h4>For Wildcard SSL Certificates<\/h4>\n<p>Wildcard certificates use the format <strong>*.example.com<\/strong> and cover first-level subdomains only. That means *.example.com protects blog.example.com but <strong>not<\/strong> *.blog.example.com. If you&#8217;re seeing this error on a deeper subdomain, you&#8217;ll need a separate certificate for that level.<\/p>\n<h4>For Multi-Domain (SAN) Certificates<\/h4>\n<p>Subject Alternative Name certificates can cover multiple domains. Check the certificate&#8217;s <strong>Details<\/strong> tab and look for the <strong>Subject Alternative Name<\/strong> section to see all covered domains. If your domain isn&#8217;t listed there, the certificate won&#8217;t work for it.<\/p>\n<h3>2. Check for Misconfigured Redirects<\/h3>\n<p>If your site redirects from www.example.com to example.com (or vice versa), but your SSL certificate only covers one version, you&#8217;ll trigger this error.<\/p>\n<p>You can check your redirects using a tool like <strong>Redirect Detective<\/strong>. If redirects are the problem, you have two options:<\/p>\n<ul>\n<li><strong>Get a certificate that covers both versions<\/strong> (www and non-www)<\/li>\n<li><strong>Install separate certificates<\/strong> for each domain version<\/li>\n<\/ul>\n<h3>3. Make Sure Your WordPress URLs Match<\/h3>\n<p>If you&#8217;re running WordPress and accidentally changed your site URL to HTTPS without installing an SSL certificate, this error will appear.<\/p>\n<p>To fix it:<\/p>\n<ul>\n<li>Go to <strong>Settings<\/strong> \u2192 <strong>General<\/strong> in your WordPress dashboard<\/li>\n<li>Check that both <strong>WordPress Address (URL)<\/strong> and <strong>Site Address (URL)<\/strong> match<\/li>\n<li>If they&#8217;re set to HTTPS but you don&#8217;t have an SSL certificate, change them back to HTTP<\/li>\n<\/ul>\n<p>If you can&#8217;t access your dashboard, you can fix this directly in the database:<\/p>\n<ul>\n<li>Open <strong>phpMyAdmin<\/strong> through your hosting account<\/li>\n<li>Navigate to your site&#8217;s database and open the <strong>wp_options<\/strong> table<\/li>\n<li>Find the <strong>siteurl<\/strong> and <strong>home<\/strong> rows<\/li>\n<li>Update both to match the correct URL<\/li>\n<\/ul>\n<h3>4. Check for Self-Signed Certificates<\/h3>\n<p>Self-signed certificates aren&#8217;t issued by a trusted Certificate Authority, so browsers won&#8217;t recognize them as secure. They&#8217;re fine for internal testing but shouldn&#8217;t be used on public websites.<\/p>\n<p>To check if your site uses a self-signed certificate:<\/p>\n<ul>\n<li>View your certificate details (click the padlock icon in your browser)<\/li>\n<li>Look at the <strong>Issued By<\/strong> field<\/li>\n<li>If it shows your own organization instead of a recognized CA like Let&#8217;s Encrypt, DigiCert, or Comodo, it&#8217;s self-signed<\/li>\n<\/ul>\n<p>The solution is to replace it with a certificate from a trusted CA. Let&#8217;s Encrypt offers free SSL certificates that browsers recognize.<\/p>\n<h3>5. Clear Your SSL State and Browser Cache<\/h3>\n<p>Browsers cache SSL certificates to speed up loading. If you recently installed a new certificate, your browser might still be using the old cached version.<\/p>\n<h4>Windows<\/h4>\n<ul>\n<li>Press <strong>Win + R<\/strong>, type <strong>inetcpl.cpl<\/strong>, and press Enter<\/li>\n<li>Go to the <strong>Content<\/strong> tab<\/li>\n<li>Click <strong>Clear SSL State<\/strong><\/li>\n<\/ul>\n<h4>macOS<\/h4>\n<ul>\n<li>In Chrome, go to <strong>Settings<\/strong> \u2192 <strong>Privacy and security<\/strong> \u2192 <strong>Manage certificates<\/strong><\/li>\n<li>Find the certificate for the problem domain<\/li>\n<li>Right-click and select <strong>Delete<\/strong><\/li>\n<\/ul>\n<h4>Clear Browser Cache<\/h4>\n<p>In Chrome, press <strong>Ctrl + Shift + Delete<\/strong> (Windows) or <strong>Cmd + Shift + Delete<\/strong> (Mac), select <strong>Cached images and files<\/strong>, and click <strong>Clear data<\/strong>.<\/p>\n<h3>6. Check Your Proxy Settings<\/h3>\n<p>Misconfigured proxy settings can interfere with SSL connections. Here&#8217;s how to reset them:<\/p>\n<h4>Windows<\/h4>\n<ul>\n<li>Go to Chrome \u2192 <strong>Settings<\/strong> \u2192 <strong>System<\/strong> \u2192 <strong>Open your computer&#8217;s proxy settings<\/strong><\/li>\n<li>In the window that opens, click <strong>LAN Settings<\/strong><\/li>\n<li>Check the box for <strong>Automatically detect settings<\/strong><\/li>\n<li>Uncheck any manual proxy options<\/li>\n<\/ul>\n<h4>macOS<\/h4>\n<ul>\n<li>Open <strong>System Preferences<\/strong> \u2192 <strong>Network<\/strong><\/li>\n<li>Select your connection and click <strong>Advanced<\/strong> \u2192 <strong>Proxies<\/strong><\/li>\n<li>Enable <strong>Automatic Proxy Configuration<\/strong><\/li>\n<\/ul>\n<h3>7. Test for Browser Extension Conflicts<\/h3>\n<p>Browser extensions can sometimes interfere with SSL connections. To check if an extension is causing the problem:<\/p>\n<ul>\n<li>Open the website in an <strong>incognito or private window<\/strong> (this disables extensions by default)<\/li>\n<li>If the site loads fine in incognito mode, an extension is likely the culprit<\/li>\n<li>Disable your extensions one by one to find which one is causing the issue<\/li>\n<\/ul>\n<p>In Chrome, go to <strong>More tools<\/strong> \u2192 <strong>Extensions<\/strong> and toggle off each extension, then reload the page after each one.<\/p>\n<h3>8. Adjust Your Antivirus Settings<\/h3>\n<p>Some antivirus programs include HTTPS scanning features that can block legitimate SSL connections. Check your antivirus settings for options like:<\/p>\n<ul>\n<li><strong>HTTPS scanning<\/strong><\/li>\n<li><strong>SSL\/TLS protocol filtering<\/strong><\/li>\n<li><strong>Encrypted connections scanning<\/strong><\/li>\n<\/ul>\n<p>Try disabling these features temporarily. If the error disappears, you may need to add the website to your antivirus whitelist or contact their support for help configuring it properly.<\/p>\n<p><strong>Important:<\/strong> Don&#8217;t leave your antivirus disabled for long periods. Re-enable it once you&#8217;ve identified the issue.<\/p>\n<h3>9. Update Your Browser and Operating System<\/h3>\n<p>Outdated browsers and operating systems may not support newer SSL\/TLS configurations, which can trigger certificate errors.<\/p>\n<h4>Update Chrome<\/h4>\n<ul>\n<li>Click the three dots in the top-right corner<\/li>\n<li>Go to <strong>Help<\/strong> \u2192 <strong>About Google Chrome<\/strong><\/li>\n<li>Chrome will automatically check for and install updates<\/li>\n<\/ul>\n<h4>Update Windows<\/h4>\n<ul>\n<li>Go to <strong>Settings<\/strong> \u2192 <strong>Update &amp; Security<\/strong> \u2192 <strong>Windows Update<\/strong><\/li>\n<li>Click <strong>Check for updates<\/strong><\/li>\n<\/ul>\n<h4>Update macOS<\/h4>\n<ul>\n<li>Go to <strong>System Preferences<\/strong> \u2192 <strong>Software Update<\/strong><\/li>\n<li>Install any available updates<\/li>\n<\/ul>\n<h2>What NOT to Do<\/h2>\n<ul>\n<li><strong>Don&#8217;t ignore the warning and proceed anyway<\/strong> unless you&#8217;re absolutely certain the site is safe (like your own test server)<\/li>\n<li><strong>Don&#8217;t disable SSL verification permanently<\/strong> in your browser settings<\/li>\n<li><strong>Don&#8217;t use self-signed certificates<\/strong> on public-facing websites<\/li>\n<li><strong>Don&#8217;t leave your antivirus disabled<\/strong> for extended periods while troubleshooting<\/li>\n<\/ul>\n<h2>When to Contact Support<\/h2>\n<p>If you&#8217;ve tried all these methods and the error persists, it&#8217;s time to get help:<\/p>\n<ul>\n<li>Contact your <strong>hosting provider<\/strong> if the issue is with your own website&#8217;s certificate<\/li>\n<li>Reach out to your <strong>SSL certificate authority<\/strong> if you suspect the certificate itself is faulty<\/li>\n<li>If you&#8217;re seeing this error on someone else&#8217;s website, the issue is on their end\u2014there&#8217;s nothing you can do except wait for them to fix it<\/li>\n<\/ul>\n<h3>Conclusion<\/h3>\n<p>The NET::ERR_CERT_COMMON_NAME_INVALID error looks intimidating, but it&#8217;s usually straightforward to resolve once you identify the cause. Start by verifying your SSL certificate matches your domain, check for redirect issues, and clear your browser&#8217;s SSL cache. Most of the time, one of these fixes will get you back on track. If you&#8217;re managing your own website, regularly monitoring your SSL certificates and keeping them up to date will prevent this error from appearing in the first place.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever seen the &#8220;Your connection is not private&#8221; warning with the error code NET::ERR_CERT_COMMON_NAME_INVALID, you know how frustrating it can be. This&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4574,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-5249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to"],"_links":{"self":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/5249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/comments?post=5249"}],"version-history":[{"count":1,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/5249\/revisions"}],"predecessor-version":[{"id":5250,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/5249\/revisions\/5250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/media\/4574"}],"wp:attachment":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/media?parent=5249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/categories?post=5249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/tags?post=5249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}