Certbot on apache

February 27, 2018 in linux ‐ 1 min read

If you try to generate a certificate on apache using sudo certbot -d <DOMAIN> you can run into the following error.

“Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA”

Solution

Use the following command to generate the certificate.

certbot --authenticator standalone --installer apache -d <DOMAIN> --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"

Cheers, Ori