I'm trying to obtain a Let'sEncrypt certificate using certbot
. The certificate will be used for a service that uses the FQDN as well as a couple subdomains thereof (foo.example.org
, xy.foo.example.org
, ab.example.org
, ...), so I thought I'd use a wildcard for the subdomains instead of listing them all individually (foo.example.org
, *.foo.example.org
).
However, trying to generate the certificat with certbot
yields the following error:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
Full output:
me@localhost:~# certbot certonly --preferred-challenges http --webroot -w /var/www/foo -d foo.example.org -d '*.foo.example.org'
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
The webroot in the webserver is set up correctly (I have used this kind of config for other certificates before), so it's unlikely that the problem lies there. And I've also used certbot
before without a DNS challenge
Why does certbot
suddenly require a DNS challenge? And how do I fix it?
My operating system is Devuan Ascii, and the certbot
version is 0.28.0 from the distribution repositories.