Update, docker hub now has 2.10.0. But for some reason I needed to pin my caddy version to 2.10.0 in order for it to pull, instead of just 2. (Maybe I did something wrong? Tried force-rebuild and --no-cache.)
dockerfile_inline: |
FROM caddy:2.10.0-builder AS builder
RUN xcaddy build \
--with github.com/mholt/caddy-l4 \
--with github.com/caddyserver/transform-encoder \
--with github.com/hslatman/caddy-crowdsec-bouncer/http@main \
--with github.com/hslatman/caddy-crowdsec-bouncer/layer4@main \
--with github.com/ueffel/caddy-brotli \
--with github.com/caddy-dns/cloudflare \
--with github.com/mholt/caddy-ratelimit \
--with github.com/jasonlovesdoggo/caddy-defender
FROM caddy:2.10.0
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
ports:
Anyway, I’m still seeing the same error:
2025-04-22T01:36:49.007539893Z {"level":"error","ts":1745285809.0074468,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"*.local.zenvoserver.com","issuer":"acme-v02.api.letsencrypt.org-directory","error":"[*.local.zenvoserver.com] solving challenges: waiting for solver certmagic.solverWrapper to be ready: timed out waiting for record to fully propagate; verify DNS provider configuration is correct - last error: <nil> (order=https://acme-v02.api.letsencrypt.org/acme/order/2324093527/376614802167) (ca=https://acme-v02.api.letsencrypt.org/directory)"}
2025-04-22T01:36:49.007602461Z {"level":"debug","ts":1745285809.0074766,"logger":"events","msg":"event","name":"cert_failed","id":"e501f7cd-dcb5-4258-994d-5c43d321b357","origin":"tls","data":{"error":{},"identifier":"*.local.zenvoserver.com","issuers":["acme-v02.api.letsencrypt.org-directory"],"renewal":false}}
2025-04-22T01:36:49.007666823Z {"level":"error","ts":1745285809.007577,"logger":"tls.obtain","msg":"will retry","error":"[*.local.zenvoserver.com] Obtain: [*.local.zenvoserver.com] solving challenges: waiting for solver certmagic.solverWrapper to be ready: timed out waiting for record to fully propagate; verify DNS provider configuration is correct - last error: <nil> (order=https://acme-v02.api.letsencrypt.org/acme/order/2324093527/376614802167) (ca=https://acme-v02.api.letsencrypt.org/directory)","attempt":1,"retrying_in":60,"elapsed":121.735237096,"max_duration":2592000}