# How to check if your server uses post-quantum TLS

URL: https://techaiwire.com/articles/how-to-check-post-quantum-tls-server-openssl-ssh/

_By Claire Whitmore - Dec 3, 2026_

**By the numbers:**

- 3.5 - first OpenSSL version that offers ML-KEM by default
- 10.0 - OpenSSH version that made ML-KEM key exchange the default
- 2 of 4 - Linux base images in our test whose OpenSSL got a post-quantum key

A server uses post-quantum TLS when the secret key it agrees with a client is protected by ML-KEM. That algorithm comes from NIST, the US standards agency, and is designed to resist future quantum computers. In TLS, the protocol behind HTTPS, it appears as X25519MLKEM768, a hybrid that pairs ML-KEM with the classic X25519 method. You can check any server with one OpenSSL command, as long as your own OpenSSL is version 3.5 or later.

The question got urgent on December 2, 2026, when [eight tech companies and the NSA urged a fast move to post-quantum encryption](/articles/nsa-post-quantum-warning-eight-tech-companies-joint-statement/). This guide shows how to check a website, your own client and your SSH connections.

## Why the key exchange is the part to check first

Every HTTPS connection starts with a handshake. In it, the client and server agree on a fresh secret key, and the server then proves its identity with a signature from its certificate.

The two parts face different risks. Someone can record encrypted traffic today and keep it. If they can later break the key exchange, they can read that old traffic. A signature only has to hold during the handshake itself. So the key exchange is the part that needs to change first, and it is the part most software has already changed.

## How post-quantum TLS works

A hybrid key exchange runs two methods at once and mixes their results. X25519 is the elliptic-curve method most of the web uses today. ML-KEM-768 is the post-quantum one. The key stays safe as long as either half holds, so a flaw in the newer math does not leave the connection open.

Cloudflare's documentation lists X25519MLKEM768 as the recommended group, with the TLS identifier 0x11ec. It also lists an older draft, X25519Kyber768Draft00, as obsolete. The client offers the groups it supports, and the server picks one. Both sides must support ML-KEM, or the connection falls back to plain X25519.

## How to check a website from the command line

Run this with OpenSSL 3.5 or later, replacing the host name:

```
openssl s_client -connect www.google.com:443 -groups X25519MLKEM768:X25519 </dev/null 2>&1 | grep -E "group|Temp Key|Protocol:"
```

In a Tech AI Wire test on December 3, 2026, with OpenSSL 3.6.2 on macOS 27.2.1, Google answered with:

```
Negotiated TLS1.3 group: X25519MLKEM768
Protocol: TLSv1.3
```

The same command against github.com printed `Peer Temp Key: X25519, 253 bits`, so GitHub's website still used the classic method. To be sure, offer only ML-KEM with `-groups X25519MLKEM768`. A server without it ends the handshake. GitHub did, with `SSL alert number 40`, a handshake failure.

| What OpenSSL prints | What it means |
|---|---|
| `Negotiated TLS1.3 group: X25519MLKEM768` | The server agreed a post-quantum key |
| `Peer Temp Key: X25519` or `Negotiated TLS1.3 group: X25519` | Classic key exchange only |
| `SSL alert number 40` with an ML-KEM-only offer | The server does not support ML-KEM |

## Can your own client use post-quantum TLS?

Only if its TLS library is new enough. According to the [OpenSSL 3.5 release notes](https://openssl-library.org/news/openssl-3.5-notes/), version 3.5.0 added ML-KEM on April 8, 2025. It also changed the defaults: "The default TLS supported groups list has been changed to include and prefer hybrid PQC KEM groups." Older versions, including every OpenSSL 3.0 build, cannot offer it.

In the same test, Tech AI Wire ran the Google check inside four Docker Linux containers, using each image's own OpenSSL with no options added:

| Image | OpenSSL version | Key exchange with Google |
|---|---|---|
| ubuntu:22.04 | 3.0.2 | X25519 |
| ubuntu:24.04 | 3.0.13 | X25519 |
| debian:13 | 3.5.9 | X25519MLKEM768 |
| alpine:3.23 | 3.5.10 | X25519MLKEM768 |

Language runtimes carry their own copy. The python.org build of Python 3.13.0 on the test Mac reported OpenSSL 3.0.15 through `python3 -c "import ssl; print(ssl.OPENSSL_VERSION)"`. That build cannot offer ML-KEM, whatever the server supports. Go is different: the [Go 1.24 release notes](https://go.dev/doc/go1.24) say X25519MLKEM768 is "enabled by default when Config.CurvePreferences is nil," from February 2025.

## How to check SSH

SSH has its own key exchange. To see which one a connection uses, run `ssh -v` and look for one line:

```
ssh -v git@github.com 2>&1 | grep "kex: algorithm"
```

With OpenSSH 10.5p1 on the test Mac, GitHub's SSH service answered `kex: algorithm: mlkem768x25519-sha256`. That is the post-quantum hybrid, even though GitHub's website was not using one.

The [OpenSSH release notes](https://www.openssh.org/releasenotes.html) show how it got there. OpenSSH 9.9 added `mlkem768x25519-sha256` in September 2024. OpenSSH 10.0, released April 9, 2025, made it the default. Both sides need OpenSSH 9.9 or later, so an old server is the usual reason a connection falls back.

## What changed and when

| Date | Change |
|---|---|
| April 8, 2022 | OpenSSH 9.0 makes the hybrid `sntrup761x25519-sha512` key exchange its default |
| September 19, 2024 | OpenSSH 9.9 adds `mlkem768x25519-sha256` |
| February 2025 | Go 1.24 turns on X25519MLKEM768 by default |
| April 8, 2025 | OpenSSL 3.5.0 adds ML-KEM and offers X25519MLKEM768 by default |
| April 9, 2025 | OpenSSH 10.0 makes `mlkem768x25519-sha256` the default |
| October 6, 2026 | [OpenSSH 10.6 adds post-quantum signature keys](/articles/openssh-10-6-post-quantum-signatures-lz77-ai-bug-reports/) |
| October 20, 2026 | [OpenBSD 8.0's LibreSSL prefers X25519MLKEM768](/articles/openbsd-8-0-released-wpa3-libressl-4-4-openssh-10-6/) |
| December 2, 2026 | Eight tech companies and the NSA urge a faster move |

## What this means for developers

Most teams can get post-quantum key exchange by upgrading what they already run, not by changing code.

- **Check your base images.** An Ubuntu 22.04 or 24.04 container gets classic key exchange for its outgoing HTTPS calls, because its OpenSSL is 3.0. Debian 13 and Alpine 3.23 already get ML-KEM.
- **Check every runtime separately.** Python, Node.js and other runtimes may bundle their own OpenSSL. Print its version from inside the runtime, not from the shell.
- **Test your own servers with an ML-KEM-only offer.** A handshake failure is the clearest answer you can get.
- **Watch for old servers.** Go's notes say some buggy servers time out on the larger handshake. Go's `GODEBUG=tlsmlkem=0` setting turns ML-KEM off as a temporary workaround while you fix the server.
- **Mind the hop behind a CDN.** Cloudflare's documentation notes that "post-quantum secured connections will depend on the origin servers also supporting PQC." Your own server is the other end of that link.

## Sources

- [OpenSSL 3.5 release notes](https://openssl-library.org/news/openssl-3.5-notes/) - OpenSSL
- [OpenSSH release notes](https://www.openssh.org/releasenotes.html) - OpenSSH
- [Go 1.24 release notes](https://go.dev/doc/go1.24) - The Go Programming Language
- [Post-quantum cryptography](https://developers.cloudflare.com/ssl/post-quantum-cryptography/) - Cloudflare Docs
