# After setup, Traefik cannot create certificates for new resources (pangolin-cloudflare-tunnel #6)

**URL:** <https://forum.hhf.technology/t/after-setup-traefik-cannot-create-certificates-for-new-resources-pangolin-cloudflare-tunnel-6/4577>\
**Category:** Pangolin Cloudflare Tunnel\
**Tags:** issue\
**Created:** [June 19, 2026, 10:12pm UTC](https://forum.hhf.technology/t/after-setup-traefik-cannot-create-certificates-for-new-resources-pangolin-cloudflare-tunnel-6/4577 "2026-06-19T22:12:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [June 19, 2026, 10:12pm UTC](https://forum.hhf.technology/t/after-setup-traefik-cannot-create-certificates-for-new-resources-pangolin-cloudflare-tunnel-6/4577/1 "2026-06-19T22:12:34Z")

</div>

> 🐙 **GitHub issue [pangolin-cloudflare-tunnel #6](https://github.com/hhftechnology/pangolin-cloudflare-tunnel/issues/6)**, opened by **`dlsantini`** on GitHub

I am on Unraid. I setup Pangolin according to their Unraid setup guide. Had my domain pointed at my server IP, everything worked correctly(with wildcard subdomain). Create a resource in Pangolin, it gets added to Traefik, Traefik creates the cert, subdomain works.

So I moved on to setting this up. Setup the Cloudflared Tunnel container, the tunnel itself, the api keys, etc. At first this seemed to work perfectly. It automatically created the dns records for all of my existing resources, added the matching tunnel stuff, etc. Subdomains all working again. Except it didn’t occur to me that those all already had certificates. When I went to add a new resource and subdomain, this container will create the relevant dns and tunnel entries, but Traefik can no longer create certificates. Traefik logs showing errors along the lines of:

`ERR Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [subdomain.mydomain.com]: error: one or more domains had a problem:\n[subdomain.mydomain.com] invalid authorization: acme: error: 403 :: urn:ietf:params:acme:error:unauthorized `

Did I miss some step or configuration I was supposed to do?

* * *

💬 Discuss it here. Status, fixes and code review stay on [GitHub](https://github.com/hhftechnology/pangolin-cloudflare-tunnel/issues/6).

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [June 19, 2026, 10:41pm UTC](https://forum.hhf.technology/t/after-setup-traefik-cannot-create-certificates-for-new-resources-pangolin-cloudflare-tunnel-6/4577/2 "2026-06-19T22:41:41Z")

</div>

**`dlsantini`** [commented on GitHub](https://github.com/hhftechnology/pangolin-cloudflare-tunnel/issues/6#issuecomment-4755257349):

> And of course as soon as I post, I discover the problem and the solution. For anyone else with the same issue, the fix is(or was for me), to open your traefik\_config.yml you created while setting up Pangolin. Find and change:
> 
> ```auto
> httpChallenge:
> entryPoint: web
> 
> ```
> 
> to
> 
> ```auto
> dnsChallenge:
> provider: cloudflare
> 
> ```
> 
> Make sure the indentation remains exactly the same as it is in the file, or you’ll break the yaml and Traefik won’t boot. As long as you had entered your Cloudflare API token into the Traefik container config when you setup Pangolin, you should be good. If you didn’t, then go follow the instruction to create the correct API token, and enter it into that field in your Traefik container settings on Unraid.
