SSL via Certbot was working on one of my domains quite well for the last two months. I decide to install on my other domain and started having problems. So I deleted those domains using Certbot -delete Things got worse. It kept redirecting from http to https. Anyway, to cut a long story short, I uninstalled Certbot and Apache stoped working. It had problems because the .conf file was referring to a letsencrypt directory and it could not find a file there. So I reinstalled Certbot and I am getting all kinds of errors and Apache is not bringing up my domains (it still redirects to https).
I got the error:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Since this is a new install and even the old install was fairly new (i.e. after Jan 2018) I didn’t think I need to update Certbot but I did it anyway, using:
certbot --authenticator standalone --installer apache -d podronestech.com --pre-hook “systemctl stop apache2” --post-hook “systemctl start apache2”
However, even this is giving me an error:
Error while running apache2ctl configtest.
Action ‘configtest’ failed.
The Apache error log may have more information.
AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/podrones.com-le-ssl.conf:
SSLCertificateFile: file ‘/etc/letsencrypt/live/www.podrones.com/fullchain.pem’ does not exist or is empty
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(“Error while running apache2ctl configtest.\nAction ‘configtest’ failed.\nThe Apache error log may have more information.\n\nAH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/podrones.com-le-ssl.conf:\nSSLCertificateFile: file ‘/etc/letsencrypt/live/www.podrones.com/fullchain.pem’ does not exist or is empty\n”,)
Note that it is using a different domain from the one in the command.
Please help! Our site is down and people are upset!
P.S. I can start Apache by commenting out the line:
but that still doesn’t start my sites.