Cert installed successfully but get Certificate name mismatch


#1

Hi, I just installed Let’s Encrypt cert on my server.
I used the automated installation for apache and centos7: $ sudo certbot --apache
I had to edit httpd config and add virtual host listening on port 80 first.
The installation went well, no errors.
But testing on https://www.ssllabs.com/ssltest/analyze.html
I get “certificate mismatch”

when opening the https of my site I get a security warning in all browsers that I am using self signed certificate.

Now, I had enabled ssl first to see if it works, and it does work. So I installed let’s encrypt cert.

But not getting it to work properly.
Maybe my self signed cert is somehow getting in the way? I have no idea how to remove this as I never installed a self signed cert.
Can anyone point me in the right direction?

My domain is: files.sixtysixrecords.at

I ran this command: $ sudo certbot --apache

It produced this output:

My web server is (include version): Apache/2.4.6 (CentOS)

The operating system my web server runs on is (include version): CentOS Linux release 7.4.1708 (Core)

My hosting provider, if applicable, is:

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,

According to the test. It’s not valid due to it’s a selfsigned ssl.
Please check if the cert are installed and reload the Apache.

Thank you


#3

You can also find references to it with something like grep -ir sslcert /etc/apache2 (maybe that needs to be grep -ir sslcert /etc/httpd on CentOS).


#4

Ah it was the self signed cert.
I removed it and then the apache startup errors showed me where to edit config files
Now all is well. Thxs a lot for Your help


#5

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