Skip to content
Quantum Aether/Enable post-quantum TLS on Java (JSSE) (X25519MLKEM768) · Quantum Aether
Live platformالعربية

Enable post-quantum TLS on Java (JSSE) (X25519MLKEM768)

Choose your server or platform. You get the version check, the configuration, and how to verify that browsers now negotiate X25519MLKEM768.

Which version do you run?

1. Check your version

Java (JSSE)
java -version

JDK 27 enables X25519MLKEM768 by default (JEP 527) for the standard javax.net.ssl APIs: embedded Tomcat, Jetty or Undertow on JSSE, HttpClient, HttpsURLConnection.

2. Configure

Java (JSSE)
-Djdk.tls.namedGroups=X25519MLKEM768,x25519,secp256r1,secp384r1

Only needed if you override the groups: look for jdk.tls.namedGroups in start scripts, JAVA_TOOL_OPTIONS or container env, and SSLParameters.setNamedGroups(...) in code.

An explicit group or curve list copied from an old hardening guide silently removes the hybrid group. Delete it, or keep X25519MLKEM768 first as shown.

4. Verify

Java (JSSE)
openssl s_client -connect example.com:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i group

If nginx, a load balancer or a CDN terminates TLS in front of this service, browsers never talk TLS to it directly: configure that layer instead.

Full guide with background and pitfalls →

After the change

Run a free check of your domain below. Grade A means TLS 1.3 with hybrid post-quantum key exchange. The result page can also check every subdomain listed in public certificate logs, so you can see which hosts still need the same change.

Scan your site now, free

Domain or HTTP(S) URL. HTTPS port 443 is checked; paths and pasted URL ports are not scanned.