ssl_error_bad_cert_domain

ssl_error_bad_cert_domain

The ssl_error_bad_cert_domain error is shown when the domain name on the certificate doesn’t match the domain of your site. A lot of hosting providers will have a default SSL certificate installed using their own domain. This error occurs when visiting a site that doesn’t have its own certificate installed. To test this, you can do a test over at the Qualys SSL Labs to check your certificate. If the domain name does not match, the SSL Labs test will show it. This can be fixed by installing a certificate for your domain.

This error can also occur when you have configured a certificate with a www or non-www domain while your website uses the other. For example, if your WordPress site address is set to https://www.yoursite.com but the certificate is for the non-www domain (example.com) this will lead to an error. To fix this, add both domains to the certificate like this:

  1. www.yoursite.com
  2. yoursite.com
Lightweight plugin, Heavyweight Security features. Get Pro and leverage your SSL certificate for WordPress security standards.