Fix it, step by step
Turn on post-quantum key exchange on Caddy.
Pick what serves your site. We'll go one step at a time, and the last step checks it worked.
By Brian Gagne, Co-founder and CTO, Kief Studio. Checked against its sources .
- Leave the curves alone, Completed
- Reload Caddy, In progress
- Check it from outside, Not started
- Scan again, Not started
Rather not touch the config? Kief Studio can turn it on for you and prove it from outside.
Have us do itEvery step for Caddy on one page
1. Leave the curves alone
Caddy's docs recommend not changing the default curves, and x25519mlkem768 is one of the values it supports. If your Caddyfile has a curves line in a tls block, check that it lists x25519mlkem768 first, or remove the line.
Only if you must set curves tls { curves x25519mlkem768 x25519 secp256r1}2. Reload Caddy
Apply the change without dropping connections.
caddy reload --config /etc/caddy/Caddyfile3. Check it from outside
Ask for the hybrid group on its own. A handshake that completes and names X25519MLKEM768 means it's offered. Then offer it alongside X25519 and check the hybrid still wins, which is what a browser sees.
Needs OpenSSL 3.5 or later on the machine you test from openssl s_client -connect yourcompany.com:443 -tls1_3 -groups X25519MLKEM768 </dev/null 2>&1 | grep -i groupopenssl s_client -connect yourcompany.com:443 -tls1_3 -groups X25519MLKEM768:X25519 </dev/null 2>&1 | grep -i group4. Scan again
Run the check on your address again. Key exchange should now pass, and the grade moves with it.
Where this comes from