Hybrid PQC Config Generator
Copy-paste configs that put post-quantum cryptography in front of your traffic today: hybrid X25519+ML-KEM-768 key exchange for nginx and OpenSSL 3.5, hybrid ML-KEM KEX and composite ML-DSA host keys for OpenSSH 10. Nothing leaves your browser - the config is generated locally from the fields below. Companion to the PQC Readiness Scanner (find what to fix) and the PQC Lab (see the algorithms at work).
Server name
SSH port
TLS mode
nginx (TLS)
nginx 1.22+ linked against OpenSSL 3.5+
# example.com - hybrid post-quantum TLS
# Prereqs: nginx >= 1.22 built/linked against OpenSSL 3.5+ (openssl version -a | grep 'OpenSSL 3')
server {
listen 443 ssl;
http2 on;
server_name example.com;
# TLS 1.3 only - hybrid groups are TLS 1.3-only
ssl_protocols TLSv1.3;
# Hybrid (classical X25519 + ML-KEM-768): safe even if ML-KEM is broken
ssl_ecdh_curve X25519MLKEM768;
# Older nginx builds reject unknown group names in ssl_ecdh_curve.
# Fallback: ssl_conf_command Groups X25519MLKEM768;
# (requires nginx 1.19.4+; comment out ssl_ecdh_curve above)
# Certificates stay classical during transition - ML-DSA certs are not yet
# chained to roots browsers trust. Confidentiality comes from the KEX above.
ssl_certificate /etc/ssl/example.com/fullchain.pem;
ssl_certificate_key /etc/ssl/example.com/privkey.pem;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:10m;
}Why hybrid, not pure PQ
Hybrid = belt and suspenders
Hybrid modes combine a classical algorithm with a post-quantum one, and the handshake is safe unless both are broken. X25519MLKEM768 keeps the battle-tested X25519 while adding ML-KEM-768, and it is already the default in Chrome, Firefox, Cloudflare and Apple.
Rollback risk of pure PQ
Going pure ML-KEM removes the classical backstop: if a flaw is found in ML-KEM (as happened with SIKE in 2022), you have no fallback. CNSA 2.0 allows PQ-only for National Security Systems, but for public endpoints the pragmatic path is hybrid now, PQ-only once the ecosystem matures.
FAQ
Which software versions do I actually need?
OpenSSL 3.5+ for ML-KEM, ML-DSA and the X25519MLKEM768 group; nginx 1.22+ built against that OpenSSL for ssl_ecdh_curve X25519MLKEM768; OpenSSH 10.0+ for hybrid KEX by default, 10.4+ for the composite mldsa44-ed25519 host key type (stable, suffix-free name in 10.6). Debian 13, Ubuntu 25.04+, Fedora 42+ and RHEL 10 all ship OpenSSL 3.5-era packages.
Why keep classical certificates if the key exchange is quantum-safe?
Hybrid key exchange protects session confidentiality today - that is the harvest-now-decrypt-later fix. Certificate signatures are the authentication layer: ML-DSA certs exist (the OpenSSL command above generates one) but no browser or root CA trusts them at scale yet. The staged CNSA 2.0 approach is hybrid KEX first, then ML-DSA certs alongside classical as trust roots appear.
What breaks if an old client connects?
Nothing, as long as you keep the classical fallback entries in the lists the generator emits. Old clients negotiate X25519 or ssh-ed25519 and get a warning in your logs (WarnWeakCrypto in OpenSSH 10.6+); only clients you explicitly pin to PQ-only modes get rejected.
Does this protect traffic that was already recorded?
No. Enabling hybrid KEX protects sessions negotiated after the change. Anything recorded while you were on pure classical key exchange stays decryptable by a future quantum attacker. That is why the NSA's inventory-first deadline logic rewards doing this early - see the Quantum Risk Map for the full blast-radius table.
100% client-side - configs are rendered in your browser from the fields above. No upload, no logging, no server round-trip.
Continue with
Passkey Address Deriver
Derive EVM addresses from P-256 passkey public keys. For Ritual Chain TxPasskey and WebAuthn wallets.
DKMS Key Visualizer
Visualize how Ritual agents derive identity keys via DKMS from TEE-held roots to purpose-specific keys.
X402 Payment Encoder
Encode and decode X402 payment payloads for agent-to-agent transactions. Build HTTP 402 challenges.