Caddy uses Go's TLS stack and has offered X25519MLKEM768 by default since version 2.10. Most installs only need to be up to date.
Requirements
- Caddy 2.10.0 or newer.
- No curves setting in the tls block, or one that includes x25519mlkem768.
Check the version:
caddy versionTurn it on
Keep the defaults. If you must pin curves, include the hybrid one first:
Caddyfile
example.com {
tls {
curves x25519mlkem768 x25519 secp256r1
}
}Reload:
caddy reloadCheck that it worked
Run the checker against your hostname. It reports X25519MLKEM768 as supported once the change is live.
From a terminal, with an OpenSSL 3.5+ client. Output that names X25519MLKEM768 means it works, a handshake failure alert means it does not:
openssl s_client -connect example.com:443 -servername example.com \
-tls1_3 -groups X25519MLKEM768 </dev/null 2>&1 | grep -iE 'group|alert'Common problems
- Distribution packages can lag behind. Use the official Caddy packages or binaries if yours is older than 2.10.
- A curves line without x25519mlkem768 turns it off.
- Custom builds with xcaddy need Go 1.24 or newer.