Skip to content

Caddy Troubleshooting

Alex Narvey edited this page Nov 1, 2024 · 4 revisions

CADDY LOGS

Checking the logs may reveal the issue:

docker logs caddy

You may also start and stop the Docker instance:

docker stop caddy

docker start caddy

CADDY Restarting because it can't get a refeshed cert

[ERROR][bluesky.example.com] failed to obtain certificate: acme: Error -> One or more domains had a problem: [bluesky.example.com] acme: error: 403 :: urn:ietf:params:acme:error:caa :: CAA record for precursor.ca prevents issuance, url: (attempt 2/3; challenge=http-01)

If you want to use a Let's Encrypt certificate you now have to update your DNS CAA records. You'll need to add a record like:

bluesy.example.com. IN CAA 0 issue "letsencrypt.org".

The Lets Encrupt CAA documentation page 342 might help explain more.

https://letsencrypt.org/docs/caa/