caddy: ECH not working properly using Chrome (tls: client sent invalid encrypted_client_hello extension)
I wanted to try the new ech functionallity of Caddy and set up a new instance on my server. This is my Caddyfile:
{
debug
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN}
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
ech ech.mydomain.com
}
test.mydomain.com {
reverse_proxy 192.168.30.3
}
The logs show that the ech record was published and i can also see it in my cloudflare dashboard.
But whenever a client wants to connect to “test.mydomain.com” using Chrome (Windows, iOS and Android), i get an ssl error. The Caddy logs say: tls: client sent invalid encrypted_client_hello extension
The only browsers that seems to work is Safari on iOS and Firefox on Windows.
Is this a known error or did i configure something wrong?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (7 by maintainers)
Just tested with GO 1.24.3 and confirming that it works now without changes from caddy.
@christaikobo
Correct. (I don’t think there’s any exposed API surface I would have to change in Caddy to get the fix. I think it’s solely internal to the Go standard lib.)
So no, we won’t have to even cut a new Caddy release for users to be able to get that patch.
Nice! I can confirm that it’s working for me as well 🙂