DokployD
Dokploy13mo ago
2 replies
monco

[SOLVED] LetsEncrypt fails with BuildType static

the website is generally reachable, but with the wrong cert (traefik-default).

the log says:
 ERR Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [example.com]: error: one or more domains had a problem:\n[example.com] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: 2a01:4f8:d0a:27bd::2: Invalid response from http://example.com/.well-known/acme-challenge/TS6...-kw: 404\n" ACME CA=https://acme-v02.api.letsencrypt.org/directory acmeCA=https://acme-v02.api.letsencrypt.org/directory domains=["example.com"] providerName=letsencrypt.acme routerName=examplecom-web-static-a00f94-router-websecure-8@file rule=Host(`example.com`)

(note: replaced my real domain with example.com here - that's not the issue)

what i tried:
* deleting the domain entry and re-adding it, while even rebooting the whole server in between: no luck.
* updating the webserver: done, no change.

i've had other projects with different buildTypes in the past where letsencrypt domains worked as expected.

anyone got an idea?
Was this page helpful?