Test X25519MLKEM768 with OpenSSL 3.5 and curl (CLI)
Updated:
Short answer
Run openssl s_client -connect example.com:443 -groups X25519MLKEM768 with OpenSSL 3.5 or newer and check for Negotiated TLS1.3 group: X25519MLKEM768, or run curl -Iv --tlsv1.3 --curves X25519MLKEM768 https://example.com.
Scan your site now, free
If you want to verify post-quantum TLS from your terminal or CI pipeline, you need a client linked against OpenSSL 3.5+ (or BoringSSL/AWS-LC with ML-KEM support). Older OpenSSL 3.0–3.4 builds do not recognize X25519MLKEM768.
1. Check your local OpenSSL and curl versions
openssl version curl --version | head -n 2
Confirm OpenSSL reports 3.5.0 or newer (Debian 13, Ubuntu 26.04, Homebrew openssl@3, or Docker alpine:3.22+).
2. Test X25519MLKEM768 with openssl s_client
openssl s_client -connect example.com:443 -servername example.com -tls1_3 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -iE "Protocol|Cipher|Peer Temp Key|Negotiated TLS1.3 group"
A post-quantum-ready server prints:
Negotiated TLS1.3 group: X25519MLKEM768
To test browser-like fallback behaviour (hybrid offered first, classical allowed if unsupported):
openssl s_client -connect example.com:443 -servername example.com -groups X25519MLKEM768:X25519:prime256v1 </dev/null 2>/dev/null | grep -i group
3. Test with curl (built against OpenSSL 3.5+)
curl -Iv --tlsv1.3 --curves X25519MLKEM768 https://example.com 2>&1 | grep -iE "SSL connection|using|group|X25519MLKEM768"
If curl fails with SSL_CTX_set1_curves_list failed or unsupported curve, your curl binary is linked to an OpenSSL older than 3.5.
4. Zero-install CLI & automated monitoring
If your workstation still ships OpenSSL 3.0/3.2, you can run a live external probe without upgrading OpenSSL locally:
curl -s "https://ather-quantum.com/api/v1/scan?domain=example.com&format=text"
Or use the post-quantum TLS checker, the longer cookbook Test X25519MLKEM768 with OpenSSL 3.5, and the 14-day free daily monitoring trial to get email alerts if a deployment ever drops X25519MLKEM768.