I have a problem with the installation of Let’s Encrypt on my server. I have Apache and CentOS6.
I followed the guide at https://certbot.eff.org/#centosrhel6-apache and couldn’t continue since my apache server stopped working. When I run
I get the following error:
Error while running apachectl graceful. httpd not running, trying to start IMPORTANT NOTES: - We were unable to install your certificate, however, we successfully restored your server to its prior configuration.
I have controlled the apache log errors and I found the following:
[warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [warn] RSA server certificate CommonName (CN) `dummy' does NOT match server name!?
It seems then that there’s a mistake in the hostname for the certificate. I don’t know what that dummy is and don’t know either how to change it to my hostname. I noticed though that I have files on my /etc/letsencrypt/ folder, I even have the certificates inside the /etc/letsencrypt/live/www.mydomain.com/ folder.
I cannot start apache as it fails. My website is currently down.
Has anyone encountered this problem before? Some help would be appreciated.