Fix guides / nginx
nginx
About 30 minutes
nginx gets post-quantum key exchange from OpenSSL 3.5 or newer. OpenSSL 3.5+ includes it in the default group list unless your config overrides that list.
Steps
- Check which OpenSSL nginx is built with:
nginx -V 2>&1 | grep -i openssl. - If it is older than 3.5, upgrade: distro packages, the official nginx repo on a current OS, or a build against OpenSSL 3.5+/BoringSSL/AWS-LC.
- If your config sets ssl_ecdh_curve, put X25519MLKEM768 first (snippet).
- Reload and re-scan.
nginx.conf (http or server block)
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1:secp384r1;
Verify it worked
Requires OpenSSL 3.5+. Expected output includes X25519MLKEM768.
openssl s_client -connect yourdomain.com:443 -servername yourdomain.com -groups X25519MLKEM768 -tls1_3 </dev/null 2>&1 | grep -i "group"
To re-run the full scan:
Implementation support We can take your engineers through the change on a call, or run the rollout across all affected endpoints.
Book a scoping call