Hi, my certificate seems not working.
Checking the ssl_error_log I find the message:" [warn] RSA server certificate CommonName (CN) `hostname (the hostname of the server?!)’ does NOT match server name!? "
So I decoded the “/etc/pki/tls/certs/localhost.crt” file. In the Common Name field I find my hostname. I expected my domain.
Tanks a lot.
Pietro
My domain is: www.pietro-onesti.cloud
I ran this command:
It produced this output:
My web server is (include version): Apache/2.2.15
The operating system my web server runs on is (include version): CentOS release 6.9 (Final)
My hosting provider, if applicable, is: Aruba
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
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 1.3.0
what exact command did you use with certbot to get that certificate?
your webserver returns a "No route to host" error on port 443 (but not on port 80): is your webserver running a HTTPS virtualhost? Or is this a firewall issue perhaps?
your certificates (the current symbolic links anyway) can be found in /etc/letsencrypt/live/nameofcertificate/
you only got a certificate for www.pietro-onesti.cloud without the base domain. If someone might forget the www, they'll get a certificate error, because you haven't added pietro-onesti.cloud to the certificate. You might want to reissue your certificate and add the base domain.
In any case, it still doesn't work from my end: still getting a no route to host on port 443 (while port 80 works fine and ping works too..). Perhaps a firewall in between blocking port 443?