hacking-lab.com · research

Post-quantum TLS, tested

Live web servers with post-quantum key exchange, one per product and hardening profile. Connect with your browser or OpenSSL, see what was negotiated, and copy the exact configuration that runs here.

Blog NSA guidance on post-quantum cryptography: what it asks for and why this lab exists

Harvest now, decrypt later

Traffic recorded today can be decrypted once a large quantum computer exists. The key exchange has to be post-quantum now, even if certificates can follow later.

The standards are final

ML-KEM (FIPS 203) for key exchange and ML-DSA (FIPS 204) for signatures, published by NIST in August 2024. Current browsers already send the hybrid X25519MLKEM768.

Deadlines are set

NSA's CNSA 2.0 wants web servers to support and prefer post-quantum algorithms now and to use them exclusively by 2033. OpenSSL 3.5 brings everything a web server needs.

Test environments

Each environment runs the same four profiles with the product's own configuration syntax, on its own four ports. The configuration pages show the exact settings that are running.

Four hardening profiles

From most compatible to strictest. Browsers reach A and B; C and D need a client that offers ML-KEM-1024, for example OpenSSL 3.5.

A · Compatible
Hybrid ML-KEM preferred, classical fallback for old clients. TLS 1.3 only. Public websites, all clients.
B · PQ for browsers
Hybrid ML-KEM only (X25519MLKEM768, SecP384r1MLKEM1024): every connection is post-quantum. Public websites, modern clients.
C · Strict hybrid
ML-KEM-1024 only, hybrid or pure, AES-256 and SHA-384. Meets CNSA 2.0 key establishment. Internal services, APIs.
D · CNSA 2.0 target
Pure MLKEM1024 and an ML-DSA-87 certificate: post-quantum key exchange and authentication. Internal, full PQC.

Test it yourself

With OpenSSL 3.5

echo | openssl s_client -connect post-quantum-crypto.hacking-lab.com:9454 \
  -CAfile pqc-lab-ca-p384.crt \
  -groups X25519MLKEM768 -brief

Look for Negotiated TLS1.3 group: X25519MLKEM768. Ports 944x are Apache, 945x NGINX, 946x HAProxy, 947x Traefik, 948x Caddy. Try -groups X25519 against port 9454 to see a classical client rejected, or -groups MLKEM1024 on port 9456 with pqc-lab-ca-bundle.crt.

Lab certificates

Profiles A–C
pqc-lab-ca-p384.crt ECDSA P-384 root
Profile D
pqc-lab-ca-bundle.crt P-384 and ML-DSA-87 roots

The test servers use a self-signed lab CA, so browsers warn on first visit (how to continue). Prefer -CAfile over installing the CA; if you trust it in a browser, remove it again afterwards.