ERROR: ssl_error_bad_cert_domain

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.fixi.ma
I ran this command:

It produced this output:

My web server is (include version): Apache2

The operating system my web server runs on is (include version): Ubuntu 18

My hosting provider, if applicable, is: digitalocean

I can login to a root shell on my machine (yes or no, or I don’t know):yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):certbot 0.31.0

Hi,

When I load my website https://fixi.ma, the components (JS for example) are not loaded due to ssl_error_bad_cert_domain ?

Thanks

In the URI’s you’re using are IP addresses. That doesn’t work, as that IP address isn’t covered in the certificate. (And Let’s Encrypt doesn’t allow you to add IP addresses to their certificates [yet].)

You’ll need to replace the IP addresses with the hostname.

Thank you a lot. I’ll try to change this configration on apache2

I think you’ll need to search for this in your website code/settings itself, not the webserver.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.