Dear deSEC community,
Although mentioned by some sources to be generally working, I cannot succeed in making the setup mentioned in the subject run. Anyone able to help out (or confirm)?
Since several days, I have tried numerous approaches for the following setup for solving the ACME DNS-01 challenge for Let’s Encrypt:
- Home Assistant OS with Let’s Encrypt add-on
- domain:
*.XXX.org - challenge:
dns - provider:
dns-desec
- domain:
- domain
XXX.orgat DomainFactory_acme-challenge.XXX.orgwithCNAMEto_acme-challenge.acme.XXX.orgXXX.orgwithNStons19.domaincontrol.comXXX.orgwithNStons20.domaincontrol.comacme.XXX.orgwithNStons1.desec.ioacme.XXX.orgwithNStons2.desec.org
- account at deSEC for ACME challenge via domain
acme.XXX.org_acme-challengewithTXTas"test"- valid API token which “can manage tokens”, “can create domains”, and “can delete domains”
After completed DNS propagation, test sites such as https://mxtoolbox.com/, https://dnschecker.org/, https://unboundtest.com/, or https://letsdebug.net/ yield reasonable feedback.
But when starting the Let’s Encrypt add-on on Home Assistant for certificate creation, the add-on issues the following error:
Encountered exception during recovery: certbot.errors.PluginError: Could not find suitable domain in your account (did you create it?): _acme-challenge.XXX.org
The log gives the following additional information:
Performing the following challenges:
dns-01 challenge for XXX.org
Authenticator._perform: XXX.org, _acme-challenge.XXX.org, yyyyyyyyyyyyy
creating _DesecConfigClient
Encountered exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/certbot_dns_desec/dns_desec.py", line 131, in get_authoritative_zone
return data[0]
~~~~^^^
Looks like certbot is struggling with the fact that I would like to have a wildcard certificate for the actual domain *.XXX.org while deSEC sees the subdomain acme.XXX.org only. Therefore probably the deSEC API cannot return any matching entries for XXX.org when being asked by certbot but for acme.XXX.org only.
Is the intended setup generally not possible (although being reported here and there to be working, depending on the ACME solution chosen)? What is wrong or missing?
Any kind of help highly appreciated!