Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
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 issue is exactly what the error message states - you’re using the Apache plugin, but that doesn’t work for wildcards. You need to use the dns-01 challenge type to authenticate your domain for a wildcard. How to do this varies wildly depending on how your DNS is managed - the big question is whether or not your DNS provider offers an API for updates, or if you must update the zone manually.
…
…
Failed authorization procedure. my-domain.com (dns-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.my-domain.com
…
For example sometimes you need a trailing . on the domain name in your DNS zone in order to create _acme-challenge.my_domain.com rather than _acme.challenge.my_domain.com.my_domain.com.