Open a-camacho opened 4 days ago
(Note 1) I cannot create in my host DNS both :
(Note 2) The DNS auth.mydomain.com only seems to work on my network
curl -s -X POST https://auth.mydomain.com/register
works on my machine, but does not work when using CURL tools online. I get the error : Could not resolve the host name. Error code: 1006
Hi guys,
I'm using Traefik (last version) with multiple services on a Debian machine with Docker Swarm. When setting up an error page for all my traefik routers, I would need a wildcard certificate for *.mydomain.com
I saw that one way of doing this, keeping self-hosted, was to deploy
acme-dns
.What I did :
My acme-config is like this :
In my Traefik container I have :
In my Traefik configuration I have :
My DNS configuration (on my host, Infomaniak.com) is :
I was able to use this command to create an user :
curl -s -X POST https://auth.mydomain.com/register |python3 -m json.tool
I used those values to setup my
_acme-challenge
CNAME on my host DNS.My problem is that I think I do not completely understand how this should be used. Watching the video on https://github.com/joohoi/acme-dns, I tried to
register
(successful) and thenupdate
.When updating I got the error
Forbidden
.Now when trying to even register a new user I got :
Would someone help me understand and point me to the right direction ?
My objective is to use a wildcard certificate on a service declared like this :
Thank you very very much (for reading this until this point at least) !