If you are using certbot 0.19.0
, you shall bump into the following error when trying run sudo certbot --nginx -d www.mydomain.com
.
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
You need to upgrade to at least Certbot 0.21.1 which is released on 27 Jan 2018.
NOTE: If you don't want to update/upgrade certbot, refer to Let's Encrypt Ssl Using Webroot Authenticator
Upgrade to the latest packages can be done with the following command for Ubuntu.
sudo apt-get dist-upgrade
NOTE: sudo apt-get upgrade
is not sufficient due to some package name change.
NOTE: If you are not using certbot ppa, refer to How To Install Latest Version Of Certbot using Cerbot-Auto
.
Check certbox version.
certbot --version# certbot 0.22.2