Installation of SSL completed. Cert is valid but google chrome shows invalid


#1

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.

Basically, the installation of SSL is successful but when I navigate to https://www.thelocalmakan.com, google chrome shows certifcate is invalid. But if you go to the certificate, it’s valid. Please help!

My domain is: thelocalmakan.com

https://www.ssllabs.com/ssltest/analyze.html?d=thelocalmakan.com

When i type apachectl -S, it shows the following

VirtualHost configuration:
*:443 thelocalmakan.com (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
*:80 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1)

My web server is (include version): Ubuntu 16.04.4 LTS
The operating system my web server runs on is (include version):

My hosting provider, if applicable, is: Digital Ocean

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): no


#2

Hi @drollih

SSL_ERROR_BAD_CERT_DOMAIN

how did you create your certificate?

You need one certificate with two names: thelocalmakan.com and www.thelocalmakan.com.

You have a certificate with one name thelocalmakan.com.

But that doesn’t work with www.thelocalmakan.com.

With certbot:

Certbot [other options] -d thelocalmakan.com -d www.thelocalmakan.com


#3

Hi JuergenAuer,

Thanks for your fast response! I use certbot to generate the certificate. Let me try with that options and get back


#4

Hey it finally work! Thank you so much!! I really appreciate it. I was figuring out for hours and you saved my live. I own it to you.

Have a great day. God Bless!


#5

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