Checking post-quantum TLS with openssl s_client: the grep trap and the fallback trap A developer documented a method for checking whether a TLS server negotiates post-quantum key exchange using plain openssl s_client, and flagged two pitfalls that make results easy to misread: grepping only for the 'Negotiated TLS1.3 group' line hides classical X25519 fallbacks, and restricting the offered groups can silently drop a server to TLS 1.2 with RSA key transport. Testing 56 public AWS endpoints with an X25519-only offer, the developer found 29 fell back to TLS 1.2 while 27 stayed on TLS 1.3, with no AWS documentation found explaining the split. After the US ONCD, NSA and CISA statement on December 2, 2026, and the joint statement from Amazon, Apple, Google, Microsoft and others backing a fast move to post-quantum cryptography, I wanted a quick way to check one thing: does a given server already negotiate a post-quantum key exchange? The key exchange is the part that matters for "harvest now, decrypt later": someone records encrypted traffic today and decrypts it once a large quantum computer exists. In TLS 1.3 the post-quantum option you will see most is X25519MLKEM768 , a hybrid of classical X25519 and ML-KEM-768. You can check it with plain openssl , no account and no SDK. It is one handshake. But on my machine two details made the result easy to misread, so this post is about those. openssl version openssl list -tls-groups | tr ':' '\n' | grep -i mlkem You need OpenSSL 3.5 or later, and X25519MLKEM768 in that list. I used OpenSSL 3.6.5 on Manjaro Linux. host=kms.sa-east-1.amazonaws.com openssl s client -connect "$host:443" -servername "$host" \ -groups X25519MLKEM768:X25519