Tried to renew certificates using certbot dns challenge/validation using acme-dns-auth.py but errors out basically with no DNS for the domain or no DNS TXT records exist. Yet I can do a nslookup or dig look for for nutthause.com domain and all of the sub domains, and I can do nslookup type=txt for the domain and its sub-domains. It shows the TXT records I created for the acme-dns-auth.ply challenge. Not sure what is wrong, I followed this digitalocean tutorial:
https://www.digitalocean.com/community/tutorials/how-to-acquire-a-let-s-encrypt-certificate-using-dns-validation-with-acme-dns-certbot-on-ubuntu-18-04
Basically I want to renew my certificates using a dns validation as I use to be able to use, “certbot-auto certonly --standalone-supported-challenges tls-sni-01 -d nutthause.com -d helios.nutthause.com -d silo-omv.nutthause.com -d silo2-omv.nutthause.com -d media2.nutthause.com -d www.nutthause.com” , but this is no longer allowed to be used any longer.
Perhaps I created the DNS TXT record incorrectly. Here is an example the txt record I created for nutthause.com domain:
|Host Text TTL
acme-challenge.nutthause.com 4a306f34-3e24-4a71-9b79-c19691fce8e0 300 sec
Question 1:
My domain is:
nutthause.com
Question 2:
I ran this command:
2A:
First Time:
sudo /usr/bin/certbot --duplicate certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d helios.nutthause.com -d media.nutthause.com -d media2.nutthause.com -d silo-omv.nutthause.com -d silo2-omv.nutthause.com -d www.nutthause.com -d nutthause.com
2B:
Second Time after changing the Txt record to be like the one I listed above:
sudo /usr/bin/certbot --duplicate certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d helios.nutthause.com -d media.nutthause.com -d media2.nutthause.com -d silo-omv.nutthause.com -d silo2-omv.nutthause.com -d www.nutthause.com -d nutthause.com
Question 3:
It produced this output:
3A:
Output from first time:
sudo /usr/bin/certbot --duplicate certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d helios.nutthause.com -d media.nutthause.com -d media2.nutthause.com -d silo-omv.nutthause.com -d silo2-omv.nutthause.com -d www.nutthause.com -d nutthause.com
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 helios.nutthause.com
dns-01 challenge for media2.nutthause.com
dns-01 challenge for silo-omv.nutthause.com
dns-01 challenge for silo2-omv.nutthause.com
dns-01 challenge for media.nutthause.com
dns-01 challenge for nutthause.com
dns-01 challenge for www.nutthause.com
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
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.helios.nutthause.com CNAME 929f7071-acc6-4b2d-9b9b-8540f167286e.auth.acme-dns.io.
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.media2.nutthause.com CNAME 1d6ec31f-9da5-4476-9983-27a737c35bd5.auth.acme-dns.io.
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.silo-omv.nutthause.com CNAME 72eda225-f677-4d2e-aa54-92abe063bd10.auth.acme-dns.io.
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.silo2-omv.nutthause.com CNAME 67df6c8f-812f-415f-bc73-1e1bd66e79e7.auth.acme-dns.io.
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.media.nutthause.com CNAME 687a8d42-ba0d-421f-b0bf-0b4b2d3bc76f.auth.acme-dns.io.
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.nutthause.com CNAME 4a306f34-3e24-4a71-9b79-c19691fce8e0.auth.acme-dns.io.
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.www.nutthause.com CNAME 5b34ead1-c91e-4cd6-b339-8b38f031dc4c.auth.acme-dns.io.
Waiting for verification…
Challenges loaded. Press continue to submit to CA. Pass “-v” for more info about
challenges.
Press Enter to Continue
Cleaning up challenges
Failed authorization procedure. media2.nutthause.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.media2.nutthause.com - check that a DNS record exists for this domain, media.nutthause.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.media.nutthause.com - check that a DNS record exists for this domain, silo2-omv.nutthause.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.silo2-omv.nutthause.com - check that a DNS record exists for this domain, www.nutthause.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.www.nutthause.com - check that a DNS record exists for this domain, nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: No TXT record found at _acme-challenge.nutthause.com, silo-omv.nutthause.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.silo-omv.nutthause.com - check that a DNS record exists for this domain, helios.nutthause.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.helios.nutthause.com - check that a DNS record exists for this domain
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: media2.nutthause.com
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.media2.nutthause.com - check that a DNS record
exists for this domainDomain: media.nutthause.com
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.media.nutthause.com - check that a DNS record
exists for this domainDomain: silo2-omv.nutthause.com
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.silo2-omv.nutthause.com - check that a DNS record
exists for this domainDomain: www.nutthause.com
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.www.nutthause.com - check that a DNS record exists
for this domainDomain: silo-omv.nutthause.com
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.silo-omv.nutthause.com - check that a DNS record
exists for this domainDomain: helios.nutthause.com
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT forhttps://www.digitalocean.com/community/tutorials/how-to-acquire-a-let-s-encrypt-certificate-using-dns-validation-with-acme-dns-certbot-on-ubuntu-18-04
_acme-challenge.helios.nutthause.com - check that a DNS record
exists for this domain -
The following errors were reported by the server:
Domain: nutthause.com
Type: unauthorized
Detail: No TXT record found at _acme-challenge.nutthause.comTo 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.
3B:
Output from Second Time after changing DNS TXT record as I listed above:
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 helios.nutthause.com
dns-01 challenge for media2.nutthause.com
dns-01 challenge for nutthause.com
dns-01 challenge for silo-omv.nutthause.com
dns-01 challenge for silo2-omv.nutthause.com
dns-01 challenge for www.nutthause.com
dns-01 challenge for media.nutthause.com
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
Waiting for verification…
Challenges loaded. Press continue to submit to CA. Pass “-v” for more info about
challenges.
Press Enter to Continue
Cleaning up challenges
Failed authorization procedure. silo2-omv.nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “67df6c8f-812f-415f-bc73-1e1bd66e79e7” found at _acme-challenge.silo2-omv.nutthause.com, helios.nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “929f7071-acc6-4b2d-9b9b-8540f167286e” found at _acme-challenge.helios.nutthause.com, nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “4a306f34-3e24-4a71-9b79-c19691fce8e0” found at _acme-challenge.nutthause.com, media.nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “687a8d42-ba0d-421f-b0bf-0b4b2d3bc76f” found at _acme-challenge.media.nutthause.com, silo-omv.nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “72eda225-f677-4d2e-aa54-92abe063bd10” found at _acme-challenge.silo-omv.nutthause.com, media2.nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “1d6ec31f-9da5-4476-9983-27a737c35bd5” found at _acme-challenge.media2.nutthause.com, www.nutthause.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “5b34ead1-c91e-4cd6-b339-8b38f031dc4c” found at _acme-challenge.www.nutthause.com
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: silo2-omv.nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “67df6c8f-812f-415f-bc73-1e1bd66e79e7”
found at _acme-challenge.silo2-omv.nutthause.comDomain: helios.nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “929f7071-acc6-4b2d-9b9b-8540f167286e”
found at _acme-challenge.helios.nutthause.comDomain: nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “4a306f34-3e24-4a71-9b79-c19691fce8e0”
found at _acme-challenge.nutthause.comDomain: media.nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “687a8d42-ba0d-421f-b0bf-0b4b2d3bc76f”
found at _acme-challenge.media.nutthause.comDomain: silo-omv.nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “72eda225-f677-4d2e-aa54-92abe063bd10”
found at _acme-challenge.silo-omv.nutthause.comDomain: media2.nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “1d6ec31f-9da5-4476-9983-27a737c35bd5”
found at _acme-challenge.media2.nutthause.comDomain: www.nutthause.com
Type: unauthorized
Detail: Incorrect TXT record “5b34ead1-c91e-4cd6-b339-8b38f031dc4c”
found at _acme-challenge.www.nutthause.comTo 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.
Question 4:
My web server is (include version):
nginx -v
nginx version: nginx/1.10.3 (Ubuntu)
Question 5:
The operating system my web server runs on is (include version):
Linux Mint 18 (Ububtu 16.04)
Question 6:
My hosting provider, if applicable, is:
ZoneEdit Domains
Question 8:
I can login to a root shell on my machine (yes or no, or I don’t know):
Yes
Question 9:
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No
Question 10:
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot --version
certbot 0.31.0
acme-dns-certbot
Thanks for making it to the end:
Steve