acme-dns-client: Can't create a CNAME as the program requests, seems malformed.

Assuming “tld” is my domain, like “foo.com”, I’m trying to get a wildcard certificate for “*.tld”.

sudo acme-dns-client register -d '*.tld' -s https://auth.tld

[W] Acme-dns account already registered for domain *.tld
Do you want acme-dns-client to monitor the CNAME record change? [Y/n]:  

To finalize the setup, you need to create a CNAME record pointing from _acme-challenge.*.tld 
to the newly created acme-dns domain xxx3ce0f-xxxx-xxxx-xxxx-7xxd9xxxxbbd.auth.tld

A correctly set up CNAME record should look like the following:

_acme-challenge.*.tld.     IN      CNAME   xxx3ce0f-xxxx-xxxx-xxxx-7xxd9xxxxbbd.auth.tld.

Waiting for CNAME record to be set up for domain *.tld
Querying the authoritative nameserver every 15 seconds.

Waiting for 10 seconds... Press Ctrl + C to abort and exit.^C

Is it possible to create a CNAME like “_acme-challenge.*.tld”? I can’t input this (“_acme-challenge.*”) as CNAME in my registrar.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

There won’t be any issues in case you haven’t manually created a CNAME record for _acme-challenge.foo.com pointing to GitLab services (which I don’t think is the way they manage the certificates honestly).

That’s no fun. Sorry that Namecheap doesn’t support it. I don’t know of any workarounds… maybe joohoi knows of a way to have one at the tld that gives you wildcard for *.tld? EFF thinks that _acme-challenge.eff.org should work for *.eff.org: https://www.eff.org/deeplinks/2018/02/technical-deep-dive-securing-automation-acme-dns-challenge-validation#:~:text=the validation subdomain It’s been a while since I looked into letsencrypt, but I recall the documentation on wildcard certificates is a little lacking.