Skip to content

Post-quantum TLS on Node.js

Web server. Works when Node.js uses OpenSSL 3.5+ (check node -p process.versions.openssl).

Checked 2026-12-05. Official docs: nodejs.org. JSON: /api/v1/fixes/nodejs

Turn on post-quantum key exchange

Use a Node.js release bundled with OpenSSL 3.5+, and if you set ecdhCurve, include the hybrid:

where you create the HTTPS server
https.createServer({
key, cert,
ecdhCurve: "X25519MLKEM768:X25519:P-256",
minVersion: "TLSv1.2",
}, app);

Fixes: KEX_CLASSICAL_ONLY

Turn off TLS 1.0 and 1.1

Set minVersion:

https.createServer options
minVersion: "TLSv1.2"

Fixes: TLS10_11_ENABLED