I'm troubleshooting an issue and I have a hard time wrapping my head around what might be the problem.
I am trying to renew a certificate with 23 subject alt names, so 24 certificates in total. Actually 12 domains once with and without wildcard.
Normally this is run in a gitlab CI pipeline but for troubleshooting I have isolated this to a single certbot command.
I am using the Let's Encrypt staging infrastructure.
All 12 domains I'm using have a CNAME entry for "_acme-challenge.$domain.$tld" pointing to "_acme-challenge.acme.puzzle.ch"
During the certbot run I get the same error for all domains:
Domain: pitc.ch
Type: unauthorized
Detail: During secondary validation: No TXT record found at _acme-challenge.pitc.ch
so presumably none of the primary validations fail and all of the secondary validations fail..
After the certbot prompt I added all requested TXT records using the dnsimple web UI and waited at least 10 minutes. I can also see all the records using unboundtest:
unbound 1.19: https://unboundtest.com/m/TXT/_acme-challenge.acme.puzzle.ch/TTKIQSCL
unbound 1.18: https://unboundtest.com/m/TXT/_acme-challenge.acme.puzzle.ch/AJ63665E
unbound 1.16: https://unboundtest.com/m/TXT/_acme-challenge.acme.puzzle.ch/EDNUCL34
even now the entries are still there, even if the challenge failed, for debugging.
Any and all hints are greatly appreciated as I'm a bit at a loss here.
Thanks!
My domain is:
*.pitc.ch,pitc.ch,*.linuxfriends.ch,linuxfriends.ch,*.linux-migration.ch,linux-migration.ch,*.linuxmigration.ch,linuxmigration.ch,*.puzzle-itc.ch,puzzle-itc.ch,*.puzzleitc.ch,puzzleitc.ch,*.puzzle-itc.com,puzzle-itc.com,*.puzzleitc.com,puzzleitc.com,*.puzzleversum.ch,puzzleversum.ch,*.puzzleversum.com,puzzleversum.com,*.puzzzle.ch,puzzzle.ch,*.puzzle-security.ch,puzzle-security.ch
I ran this command:
sudo certbot certonly --manual --dry-run --agree-tos --debug-challenges --preferred-challenge dns-01 -d *.pitc.ch,pitc.ch,*.linuxfriends.ch,linuxfriends.ch,*.linux-migration.ch,linux-migration.ch,*.linuxmigration.ch,linuxmigration.ch,*.puzzle-itc.ch,puzzle-itc.ch,*.puzzleitc.ch,puzzleitc.ch,*.puzzle-itc.com,puzzle-itc.com,*.puzzleitc.com,puzzleitc.com,*.puzzleversum.ch,puzzleversum.ch,*.puzzleversum.com,puzzleversum.com,*.puzzzle.ch,puzzzle.ch,*.puzzle-security.ch,puzzle-security.ch
It produced this output: (24 times this output all obviously with different domains and TXT values)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name:
_acme-challenge.pitc.ch.
with the following value:
yTYUDfIMF4vfeWsWAeflADveyGEfg8D0blWfWF3fuhI
(This must be set up in addition to the previous challenges; do not remove,
replace, or undo the previous challenge tasks yet. Note that you might be
asked to create multiple distinct TXT records with the same name. This is
permitted by DNS standards.)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 2.8.0 however I also have this issue in a CI pipeline where we use lego with the dnsimple integration. Certbot is just used locally for easier testing.