I am trying to issue *(wildcard) certificate for mentioned domain using acme-dns-auth.py to make sure that the renew happens automatically without needing any human help. It seems that it is able to read the domain TXT record it is as it should be but still not able to authorize.
My domain is:
hexorial.studio
I ran this command:
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d *.hexorial.studio -d hexorial.studio
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for hexorial.studio
dns-01 challenge for hexorial.studio
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NOTE: The IP of this machine will be publicly logged as having requested this
certificate. If you're running certbot in manual mode on a machine that is not
your server, please ensure you're okay with that.
Are you OK with your IP being logged?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
Running manual-auth-hook command: /etc/letsencrypt/acme-dns-auth.py
Output from manual-auth-hook command acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.hexorial.studio CNAME ca84ec58-2c53-429d-b226-4fba20ff0a56.auth.acme-dns.io.
Running manual-auth-hook command: /etc/letsencrypt/acme-dns-auth.py
Waiting for verification...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Challenges loaded. Press continue to submit to CA. Pass "-v" for more info about
challenges.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
Challenge failed for domain hexorial.studio
Challenge failed for domain hexorial.studio
dns-01 challenge for hexorial.studio
dns-01 challenge for hexorial.studio
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: hexorial.studio
Type: unauthorized
Detail: Incorrect TXT record
"ca84ec58-2c53-429d-b226-4fba20ff0a56.auth.acme-dns.io." found at
_acme-challenge.hexorial.studio
Domain: hexorial.studio
Type: unauthorized
Detail: Incorrect TXT record
"ca84ec58-2c53-429d-b226-4fba20ff0a56.auth.acme-dns.io." found at
_acme-challenge.hexorial.studio
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
| Distributor ID: | Ubuntu |
|---|---|
| Description: | Ubuntu 20.04.2 LTS |
| Release: | 20.04 |
| Codename: | focal |
I can login to a root shell on my machine (yes or no, or I don't know):
yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 0.40.0
