Hi all,
I've been using traefik with letsencrypt to generate certificates for each of my subdomains.
It worked well, until they expired. So I followed a few tips and tricks online, I emptied my acme.json file and restarted the traefik container.
However it doesn't seem to do the trick, I get these errors
acme: cleaning up failed: namecheap: Invalid request IP: 91.86.42.31 [1011150] lib=lego
Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [subdomain.mydomain.org]: error: one or more domains had a problem:\n[subdomain.mydomain.org] [subdomain.mydomain.org] acme: error presenting token: namecheap: Invalid request IP: 91.86.42.31 [1011150]\n" ACME CA=https://acme-v02.api.letsencrypt.org/directory acmeCA=https://acme-v02.api.letsencrypt.org/directory domains=["[subdomain.mydomain.org](http://subdomain.mydomain.org)g"] providerName=letsEncrypt.acme routerName=athena@docker rule=Host(subdomain.mydomain.org
)
This is the traefik bit my docker-compose.yml
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.container.rule=Host(hemingway.${DOMAINNAME}
)
- traefik.http.routers.container.entrypoints=websecure
- traefik.http.routers.container.middlewares=chain-authelia@file
- traefik.http.routers.container.service=container@docker
- traefik.http.routers.container.tls=true
- traefik.http.routers.container.tls.certresolver=letsEncrypt
This is traefik config
websecure:
address: ":443"
http:
tls:
certResolver: letsEncrypt
domains:
- main: "domain.org"
sans:
- "*.domain.org"
certificatesResolvers:
letsEncrypt:
acme:
email: myemail
storage: /acme.json
dnsChallenge:
provider: namecheap
I'm completely lost as what I can do to fix this. Any pointers or guidance would be most welcome.
Cheers.