Enable Post-Quantum TLS 1.3 in Caddy (Go 1.24+)
Finding / Symptom: Older Caddy builds or pinned curves directives force classical X25519/P-256 key exchange.
Upgrade to Caddy 2.10+ (compiled with Go 1.24+) and remove any pinned classical curves block so X25519MLKEM768 negotiates automatically.
Copy-Paste Configuration Fix
# Caddyfile (Caddy >= 2.10 built with Go >= 1.24)
yourdomain.com {
tls {
protocols tls1.3
# Remove any classical-only 'curves x25519 secp256r1' line!
# Go 1.24+ automatically prefers X25519MLKEM768.
}
reverse_proxy 127.0.0.1:8080
}
Verify Live
caddy version && openssl s_client -connect yourdomain.com:443 -servername yourdomain.com -tls1_3 -groups X25519MLKEM768 </dev/null
Test your stack live: SSL / TLS 1.3 & Post-Quantum Checker
Frequently Asked Questions
- Does Caddy enable X25519MLKEM768 by default?
- Yes, starting with Caddy compiled on Go 1.24+, crypto/tls advertises and prefers X25519MLKEM768 automatically unless overridden.