Your WordPress site is ready for visitors. Then Chrome throws a scary red screen: NET::ERR_CERT_INVALID. Ouch. It looks like your website put on a fake mustache and the browser does not trust it. The good news? This error is usually fixable without wizard powers.

TLDR: NET::ERR_CERT_INVALID means the browser does not trust your SSL certificate. This can happen when the certificate is expired, installed wrong, made for another domain, or mixed with insecure content. For example, if your certificate is for example.com but visitors open www.example.com, Chrome may complain. In many small WordPress sites, SSL trouble causes a quick traffic drop of 10% to 30% because visitors leave when they see the warning.

What Does NET::ERR_CERT_INVALID Mean?

This error means your browser checked the website’s SSL certificate and said, “Nope. I do not trust this.” An SSL certificate is the little security badge that lets your site use HTTPS. It encrypts data between the browser and your website.

When SSL works, users see a padlock in the address bar. When it fails, they see a warning page. That warning can scare away customers, readers, and even your aunt who only wanted to read your cake recipe.

In WordPress, this issue is often connected to hosting, domain settings, plugins, or URLs saved in the database.

Common Causes of the Error

Before we fix it, let’s meet the usual suspects.

  • Expired SSL certificate: The certificate reached its end date.
  • Wrong domain: The certificate is for another domain or misses the www version.
  • Incomplete installation: The SSL chain is broken or not installed fully.
  • Mixed content: Your page uses HTTPS, but images or scripts still load over HTTP.
  • Bad WordPress URL settings: WordPress still thinks your site uses HTTP.
  • Browser cache: Your browser is holding old security data.
  • Server time issue: Your server date or local computer date is wrong.

Step 1: Check If Your SSL Certificate Is Valid

Start with the certificate itself. This is the front door.

Click the padlock or warning icon in your browser. Then view the certificate details. Look for three things:

  • Expiration date: Is it still active?
  • Domain name: Does it match your site?
  • Issuer: Was it issued by a trusted certificate authority?

If your certificate has expired, renew it in your hosting dashboard. Many hosts offer free SSL through Let’s Encrypt. It usually takes only a few clicks.

If the certificate is for the wrong domain, install a new one. Make sure it covers both versions:

  • yourdomain.com
  • www.yourdomain.com

This tiny detail causes big headaches. It is like buying a ticket for Bob, then asking Barbara to use it.

Step 2: Reinstall SSL From Your Hosting Panel

Sometimes the certificate exists, but it was installed like a sandwich with the bread missing. The browser needs the full certificate chain. If one part is missing, it may show NET::ERR_CERT_INVALID.

Log in to your hosting account. Look for a section called SSL, Security, or Certificates. Then renew, reinstall, or reissue the certificate.

If your host uses cPanel, you may find this under SSL/TLS or Let’s Encrypt SSL. After reinstalling, wait a few minutes. Some hosts need time to apply the change.

If you are not sure what to click, contact your host. Say this:

“My WordPress site shows NET::ERR_CERT_INVALID. Can you check if my SSL certificate and certificate chain are installed correctly for both www and non-www?”

That sentence makes you sound like a calm internet detective.

Step 3: Update Your WordPress URLs

WordPress stores your site address in its settings. If those URLs still use http://, your site may act confused.

Go to your WordPress dashboard. Then open:

  • Settings
  • General

Now check these two fields:

  • WordPress Address URL
  • Site Address URL

Both should begin with https://. For example:

https://yourdomain.com

Save the changes. Then log back in if WordPress kicks you out. It does that sometimes. It is not personal.

Step 4: Fix Mixed Content

Mixed content happens when your page loads over HTTPS, but some items still use HTTP. These items can be images, stylesheets, scripts, fonts, or videos.

The browser does not like this. It is like putting a fancy lock on your front door while leaving the window open.

To fix it, use a plugin such as an SSL fixer or search and replace tool. You can replace old HTTP URLs in your database with HTTPS URLs.

For example, replace:

http://yourdomain.com

with:

https://yourdomain.com

Before you do this, make a backup. Always. Backups are the seatbelts of WordPress.

You can also check mixed content in Chrome:

  1. Open your site.
  2. Right-click and choose Inspect.
  3. Click the Console tab.
  4. Look for HTTP warnings.

If you see image URLs starting with HTTP, update them in your posts, theme, or widgets.

Step 5: Force HTTPS Correctly

Once SSL works, you should send all visitors to the HTTPS version of your site. This is called a redirect.

Many hosting dashboards have a simple Force HTTPS switch. Turn it on if available.

You can also use a WordPress SSL plugin to handle redirects. This is easier for beginners. It also helps fix common SSL settings.

Advanced users can add redirect rules to the .htaccess file. Be careful. One tiny typo can make your site take a nap.

A good redirect means:

  • HTTP goes to HTTPS.
  • www goes to your chosen version.
  • non-www goes to your chosen version.
  • There are no redirect loops.

Step 6: Clear Caches Everywhere

Cache can keep old errors alive. It is like your browser has a sticky note that says, “This site is broken,” even after you fixed it.

Clear these caches:

  • Browser cache
  • WordPress cache plugin
  • Hosting cache
  • CDN cache, if you use one

Then test in a private browser window. Also test on your phone using mobile data. This helps you avoid your local Wi-Fi cache.

Step 7: Check Your Computer Date and Time

This sounds silly. But it matters.

SSL certificates are date-based. If your computer thinks it is 2014 or 2047, the browser may think the certificate is invalid.

Check your device date, time, and time zone. Set them to automatic. Then reload the site.

This is a quick fix. It is also one of those fixes that makes you laugh after losing an hour.

Step 8: Check CDN or Firewall Settings

If you use a CDN or security firewall, SSL may be controlled there too. A wrong setting can trigger certificate errors.

Check that your CDN SSL mode is set correctly. Avoid strange half-secure setups. Your origin server and CDN should both support HTTPS.

If the CDN has its own certificate, make sure it is valid and covers your domain. Also purge the CDN cache after making changes.

Step 9: Test Your Site With an SSL Checker

After making changes, use an online SSL checker. It can show certificate problems, missing chains, domain mismatches, and expiry dates.

Look for results like:

  • Certificate is trusted
  • Certificate chain is complete
  • Hostname matches
  • No major SSL errors

If everything passes, do a tiny victory dance. Your site has earned it.

Quick Prevention Tips

Want to avoid this error in the future? Use these habits:

  • Turn on automatic SSL renewal.
  • Keep WordPress, themes, and plugins updated.
  • Use HTTPS in all internal links.
  • Check your site after changing hosts or domains.
  • Keep regular backups.
  • Monitor SSL expiry dates.

You can also set a calendar reminder 30 days before your SSL certificate expires. Future you will send present you a thank-you snack.

Final Thoughts

NET::ERR_CERT_INVALID looks scary, but it usually points to a simple trust problem. Your browser does not trust the certificate, the domain does not match, or WordPress is still using old HTTP links.

Start with the SSL certificate. Then check WordPress URLs, mixed content, redirects, cache, and CDN settings. Go step by step. Do not panic-click every button in sight.

Once fixed, your visitors will see the happy padlock again. Your WordPress site will feel safer, cleaner, and more professional. And Chrome will stop yelling at everyone. Lovely.

Scroll to Top
Scroll to Top