Fails to grab SSL certificate (acme error 403)

Im trying to run the command caddy -conf /etc/Caddyfile but the result is always the same error.

The entire attempt log is:
Activating privacy features... 2019/06/24 04:14:10 [INFO] [] acme: Obtaining bundled SAN certificate 2019/06/24 04:14:11 [INFO] [] AuthURL: 2019/06/24 04:14:11 [INFO] [] acme: use tls-alpn-01 solver 2019/06/24 04:14:11 [INFO] [] acme: Trying to solve TLS-ALPN-01 2019/06/24 04:14:12 [INFO] Unable to deactivated authorizations: 2019/06/24 04:14:12 [] failed to obtain certificate: acme: Error -> One or more domains had a problem: [] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge, url:

I got it to work by disabling CloudFlare protection

1 Like

Glad to hear you got it sorted! And, thanks for posting when you found out what the cause was.

Just as a heads up, Caddy should soon be able to work around the Cloudflare protection with the help of a recent addition:

This update hasn’t made its way into a release quite yet, but the next version of Caddy should have it!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.