Quantum-secure Java: JDK TLS and named groups

The JDK version, security policy and TLS provider decide whether Java can negotiate X25519MLKEM768. Test the runtime your service actually uses.

Quick answer: The JDK version, security policy and TLS provider decide whether Java can negotiate X25519MLKEM768. Test the runtime your service actually uses.

What this guide covers

This guide covers TLS key exchange and certificate readiness for Java. It does not cover data at rest, code signing or QKD.

Fix it

Check java -version, the JDK vendor and the TLS provider. Some JDKs expose jdk.tls.namedGroups; setting it can enable or restrict groups. A server-side Java service may also sit behind nginx or a load balancer, so test the hop that terminates TLS.

Verify it

Use openssl s_client from a 3.5+ client against the Java service. For a Java client, run a small TLS probe with the same JDK and trust store. Add quantum/quantumcert for recurring evidence.

Failure example

The service runs on an older JDK while the host has a newer one. The shell test passes and the Java service stays classical. Check the runtime that launched the process, not the default on the PATH.

Automate it

  • Use a Command Processor to collect the version, linked TLS library and effective configuration.
  • Use an AgentFlow to inventory the host, add the quantum and quantumcert checks and produce a report.
  • Use a Connect to repeat the check and alert on regression.

Limits

  • One target, one port and one agent per check.
  • The agent's algorithm set matters.
  • Key exchange and certificate signatures are separate.
  • No data-at-rest or QKD coverage.
  • A clean check does not prove every service or virtual host is configured.

Next

Keep exploring

Quantum-secure .NET: SslStream and the OS backend

On Windows, .NET uses Schannel; on Linux it usually uses OpenSSL. The backend and its version decide the group, not the .NET version alone.

Quantum-secure Node.js: OpenSSL linkage and TLS groups

Node bundles its own OpenSSL. Check the Node version and the TLS context, then verify the negotiated group from the client path.

Quantum-secure OpenSSL: hybrid TLS that actually negotiates

Enable hybrid ML-KEM key exchange on OpenSSL 3.5+, prove the negotiated group, and separate the session from the certificate.

Browse the library · Quantum readiness docs · Check a system