I'd like to obtain one certificate working for all my subdomains *.example.com
.
This works:
certbot-auto certonly --webroot --webroot-path /home/www/example/ --domain example.com
--domain www.example.com --email certbot@example.com
but this (with *.
):
certbot-auto certonly --webroot --webroot-path /home/www/example/ --domain example.com
--domain *.example.com --email certbot@example.com
fails with:
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.
How to use certbot-auto
to generate a certificate for *.example.com
?