# Unable to obtain ACME certificate for domains

**URL:** <https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066>\
**Category:** Help\
**Created:** [September 19, 2020, 2:20pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066 "2020-09-19T14:20:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 2:20pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/1 "2020-09-19T14:20:35Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [https://crt.sh/?q=example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: [www.circusuniverse.com](http://www.circusuniverse.com)

I ran this command: Using docker, not sure of exact command

It produced this output:  
msg=“Unable to obtain ACME certificate for domains “[traefik.circusuniverse.com](https://slack-redir.net/link?url=http%3A%2F%2Ftraefik.circusuniverse.com)”: unable to generate a certificate for the domains [[traefik.circusuniverse.com](https://slack-redir.net/link?url=http%3A%2F%2Ftraefik.circusuniverse.com)]: error: one or more domains had a problem:\n[[traefik.circusuniverse.com](https://slack-redir.net/link?url=http%3A%2F%2Ftraefik.circusuniverse.com)] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for [traefik.circusuniverse.com](https://slack-redir.net/link?url=http%3A%2F%2Ftraefik.circusuniverse.com) - check that a DNS record exists for this domain, url: \n” providerName=primary.acme routerName=api@docker rule=“Host(`[traefik.circusuniverse.com](https://slack-redir.net/link?url=http%3A%2F%2Ftraefik.circusuniverse.com)`)”

My web server is (include version):

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is: Microsoft Azure

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):  
No

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you’re using Certbot): Not sure - All done through prebuilt Docker container

Hey, not entirely sure what I am doing wrong as I am new to all of this stuff, I am hoping it’s obvious. So I was looking at some similar problems and it was mentioned that the domain name might not be up and ready but it looks ok to me : [https://check-your-website.server-daten.de/?q=circusuniverse.com](https://check-your-website.server-daten.de/?q=circusuniverse.com)

I am using a Docker container which which uses a .env to fill in Traefik information - In this case its asking for traefik domain which I have set as follows:  
TRAEFIK\_DOMAIN=[circusuniverse.com](http://circusuniverse.com)

As I said I am new to this so maybe the above link is actually showing something wrong or the domain is set incorrectly and I do not realise. If so any help you could provide would be great, thank you 🙂

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [September 19, 2020, 2:24pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/2 "2020-09-19T14:24:42Z")

</div>

> [@Chaney08](#):
>
> (…) I am hoping it’s obvious.

It's pretty obvious, yes, if you read the error message in detail.

It seems if you specify your base domain name, this prebuild Docker container (WHICH?!?!? there are THOUSANDS of different Docker containers out there!) of yours wants to get a certificate for the `traefik` subdomain. (I.e., `traefik.circusuniverse.com`) However, you don't have that hostname specified in your DNS zone file. And without an IP address for that hostname, Let's Encrypt can't verify the hostname and can't issue a certificate for it.

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 3:05pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/3 "2020-09-19T15:05:55Z")

</div>

Hey, thanks for your response Osiris :The docker container I am using can be found here [https://github.com/eveseat/seat](https://github.com/eveseat/seat)

Now, stupid question time, How do I specify that particular subdomain in my DNS zone file? Or better yet, can I do a wildcard operation? The only thing I really done up until now, was buy this domain off GoDaddy and change nameservers to match Azure nameservers. I then added a DNS zone in azure for [www.circusuniverse.com](http://www.circusuniverse.com) to match the IP of my Azure virtual machine. Sorry if this is basic stuff (Or completely unrelated), as mentioned, this is my first time looking into anything like this so my basics are missing 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 3:10pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/4 "2020-09-19T15:10:34Z")

</div>

Nevermind, I found a good tutorial to show me how to do it : [https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns](https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns) for anyone else interested.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [September 19, 2020, 3:56pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/5 "2020-09-19T15:56:06Z")

</div>

> [@Chaney08](#):
>
> The docker container I am using can be found here [GitHub - eveseat/seat: 🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager](https://github.com/eveseat/seat)

I didn't look very long, but I didn't see a reference to Traefik in that container.

> [@Chaney08](#):
>
> I then added a DNS zone in azure for [www.circusuniverse.com](http://www.circusuniverse.com) to match the IP of my Azure virtual machine.

I don't have experience with the Azure DNS zone editor, but that's just for the `www` subdomain. But I see you managed to find that How-To, so I assume you've got it under control now. Although I'm not seeing an A record for the `traefik` subdomain yet. And I also still don't know where that subdomain comes from, as you didn't enter that subdomain into your `.env` right?

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 4:01pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/6 "2020-09-19T16:01:30Z")

</div>

No, its all preconfigured, I just assumed that the traefik. subdomain was automatically added somewhere.

I have not looked into the actual codebase as I was just following their docker instructions to get it working. And yeah, I followed [Tutorial: Create an Azure child DNS zone - Azure DNS | Microsoft Learn](https://docs.microsoft.com/en-us/azure/dns/tutorial-public-dns-zones-child) but I am getting an

> ```
> "Unable to obtain ACME certificate for domains \"traefik.circusuniverse.com\": unable to generate a certificate for the domains [traefik.circusuniverse.com]: error: one or more domains had a problem:\n[traefik.circusuniverse.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: No valid IP addresses found for traefik.circusuniverse.com, url: \n" routerName=api@docker rule="Host(`traefik.circusuniverse.com`)" providerName=primary.acme
> " 
> 
> ```

error now! So looking into why its not a proper subdomain yet. Still learning so I may take a lot longer than normal to do all this stuff correctly haha.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [September 19, 2020, 4:06pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/7 "2020-09-19T16:06:21Z")

</div>

> [@Chaney08](#):
>
> No, its all preconfigured, I just assumed that the traefik. subdomain was automatically added somewhere.

I'm assuming that too, but I can't find any reference to "traefik" in the code of the repository you linked above.

> [@Chaney08](#):
>
> I followed [Tutorial: Create an Azure child DNS zone - Azure DNS | Microsoft Learn](https://docs.microsoft.com/en-us/azure/dns/tutorial-public-dns-zones-child)

Not sure why you're following for creating a **Child** DNS zone? Shouldn't you be focussing on your primary DNS zone first?

> [@Chaney08](#):
>
> So looking into why its not a proper subdomain yet.

It's still missing an A or AAAA record.

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 4:10pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/8 "2020-09-19T16:10:23Z")

</div>

> Not sure why you’re following for creating a **Child** DNS zone? Shouldn’t you be focussing on your primary DNS zone first?

I thought my primary DNS zone was up and running correctly as I can find it using the [https://check-your-website.server-daten.de/?q=circusuniverse.com](https://check-your-website.server-daten.de/?q=circusuniverse.com) site to check everything is in order, as such I now need to get the child domain setup.

> It’s still missing an A or AAAA record.

I thought if it was a child of the primary domain that would either not be necessary or automatic using Azure, guess not haha, looking into it now.

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 4:15pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/9 "2020-09-19T16:15:28Z")

</div>

So when I run an nslookup on [www.traefik.circusuniverse.com](http://www.traefik.circusuniverse.com) I get a “Non-authoritative answer” which contains the appropriate IP address. But the Letsencryt part looks like its trying to find [traefik.circusuniverse.com](http://traefik.circusuniverse.com) (Without the www) and nslooking for that returns an error, any ideas on why this is/what I can do about it? Thanks.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [September 19, 2020, 4:17pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/10 "2020-09-19T16:17:58Z")

</div>

That’s weird indeed. But I don’t think that has anything to do with child zones though. You _should_ be able to just add subdomains and hostnames et cetera to your primary zone file. But without a look at it, I don’t know where it goes wrongly.

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 4:20pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/11 "2020-09-19T16:20:06Z")

</div>

Thanks for the help dude, hopefully I can figure this stuff out soon lol.

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 6:05pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/12 "2020-09-19T18:05:31Z")

</div>

Really not sure how this stuff works - I mean, looking at [https://check-your-website.server-daten.de/?q=traefik.circusuniverse.com](https://check-your-website.server-daten.de/?q=traefik.circusuniverse.com) shows that [www.traefic.circusuniverse.com](http://www.traefic.circusuniverse.com) works but without the www it does not - No idea why LetsEncrypt is not working with this.

---

<div class="post-metadata">

**Author:** ![Chaney08](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chaney08](https://community.letsencrypt.org/u/Chaney08)\
**Post date:** [September 19, 2020, 6:26pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/13 "2020-09-19T18:26:19Z")

</div>

I figured it out, for posterity’s sake I will post here. Basically what happened was in Azure when setting up a new record “Record set” the tutorials all tell you to add www in the name, but that will create a DNS entry for www.traefik… - Instead leave this blank and fill out everything else.

I am currently getting  
“Cannot retrieve the ACME challenge for token check-your-website-dot-server-daten-dot-de: cannot find challenge for token check-your-website-dot-server-daten-dot-de” providerName=primary.acme  
"

So I am looking into that now.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [October 19, 2020, 6:26pm UTC](https://community.letsencrypt.org/t/unable-to-obtain-acme-certificate-for-domains/134066/14 "2020-10-19T18:26:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
