Fix it, step by step
Turn on post-quantum key exchange on Go (net/http).
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 .
- Build with Go 1.24 or later, Completed
- Leave CurvePreferences unset, Completed
- Check it from outside, In progress
- 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 Go (net/http) on one page
1. Build with Go 1.24 or later
crypto/tls enables X25519MLKEM768 by default when tls.Config.CurvePreferences is nil. Setting GODEBUG=tlsmlkem=0 turns it off, so make sure nothing sets that.
go version2. Leave CurvePreferences unset
If you do set it, include tls.X25519MLKEM768. From Go 1.24 the order of CurvePreferences is ignored, so listing it doesn't change what's preferred.
3. 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