GitHub issue pangolin-cloudflare-tunnel #6, opened by
dlsantinion 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.