Skip to content

Guide

How to check whether your website uses post-quantum encryption

By Published Last updated

To check whether your website uses post-quantum encryption, open it in a current Chrome or Edge browser, open DevTools, go to the Security panel, and look for X25519MLKEM768 as the key exchange for the connection.

If you see it, the connection between that browser and that server is protected by hybrid post-quantum key exchange. If you see only X25519 or P-256, it is not.

How do I check in Chrome or Edge DevTools?

Open your site, press F12 to open DevTools, select the Security panel, reload the page, and read the Connection details for your site’s main origin. The key exchange is listed there next to the protocol and cipher.

  1. Open your website in an up-to-date Chrome or Edge browser.
  2. Press F12, or right-click the page and choose Inspect.
  3. Select the Security panel. If you do not see it, open the overflow menu (the >> icon) in the DevTools tab bar.
  4. Reload the page so DevTools records the connection.
  5. Select your site’s main origin in the left list.
  6. Read the Connection section. It shows the protocol, the key exchange and the cipher.

You want the key exchange to read X25519MLKEM768, with TLS 1.3 as the protocol. Chrome switched its post-quantum key exchange from Kyber to ML-KEM in Chrome 131, as described on the Google Security Blog.

Check each hostname separately. Your main site, client portal, booking page and www version can run on different servers.

What does X25519MLKEM768 mean?

X25519MLKEM768 is a hybrid key exchange that combines the classical X25519 method with ML-KEM-768, a post-quantum method standardized by NIST, so an attacker would need to break both parts to recover the session keys.

It is defined for TLS 1.3 in IETF RFC 10024, which began as draft-ietf-tls-ecdhe-mlkem. Here is what each part of the name means:

Part Meaning
X25519 A classical elliptic curve key exchange, widely used in TLS 1.3 today.
MLKEM ML-KEM, the Module-Lattice-Based Key-Encapsulation Mechanism standardized in NIST FIPS 203.
768 The ML-KEM-768 parameter set, the middle of the three sets in FIPS 203.

Because the two methods are combined, the connection keeps classical security even if a flaw were found in the newer method. See X25519MLKEM768 and hybrid key exchange for short definitions.

What if DevTools shows X25519 or P-256 instead?

If the Connection section in DevTools shows X25519, P-256 or another classical group, your server did not agree to post-quantum key exchange, even though the browser offered it. The connection is still encrypted, but it is not protected against later decryption.

Common causes:

  • The server runs an older TLS library that does not support ML-KEM.
  • The server supports it, but the configuration limits the allowed groups.
  • A load balancer, firewall or proxy in front of the server handles TLS and has not been updated.

How do I check from the command line with OpenSSL?

If you have OpenSSL 3.5 or later, run openssl s_client against your hostname with only the X25519MLKEM768 group allowed, and a successful handshake tells you the server supports post-quantum key exchange. If it fails, the server does not.

OpenSSL 3.5 added ML-KEM and changed its default TLS key shares to offer X25519MLKEM768 and X25519. First, confirm your version:

openssl version

Then test your site. Replace example.com with your hostname in both places:

openssl s_client -connect example.com:443 -servername example.com \
  -groups X25519MLKEM768 -brief </dev/null

A successful run prints the connection details and names X25519MLKEM768 as the negotiated group. A handshake failure means the server would not accept that group.

Older OpenSSL versions do not recognize the group name, so the command errors out before it connects. That tells you about your tools, not your server.

How do I check whether my SSH server uses post-quantum key exchange?

Run ssh -Q kex to see what your SSH client supports, then connect with ssh -v and look for mlkem768x25519-sha256 in the debug output, which shows the key exchange your client and server actually agreed on.

OpenSSH added mlkem768x25519-sha256 in version 9.9 and made it the default key exchange in version 10.0. The OpenSSH release notes list the changes by version.

ssh -Q kex

If mlkem768x25519-sha256 is in the list, your client supports it. Next, connect to the server with verbose output:

ssh -v user@server.example.com

Look for a debug line that reads kex: algorithm: mlkem768x25519-sha256. If it names a classical algorithm such as curve25519-sha256, the server needs an update. OpenSSH 10.1 and later also print a warning when a connection does not use post-quantum key exchange.

Why might my CDN show post-quantum when my server does not?

A CDN like Cloudflare can speak post-quantum key exchange to your visitors while the separate connection from the CDN to your origin server is still classical. DevTools only shows the first hop, from the browser to the CDN.

Cloudflare supports hybrid key agreement for sites it serves over TLS 1.3. For the hop to your server, Cloudflare says post-quantum protection depends on the origin also supporting it, as explained in its origin connection documentation.

Connection What shows it Who controls it
Visitor to CDN Browser DevTools The CDN
CDN to origin Origin server logs or a direct test of the origin You or your host

To test the origin, run the OpenSSL command against the origin’s own address, if your setup allows direct connections.

Do I need a new certificate for post-quantum encryption?

No, your current RSA or ECDSA certificate keeps working with X25519MLKEM768, because key exchange and certificates are separate parts of the connection, and post-quantum certificates are a later migration.

Key exchange protects the confidentiality of traffic. Certificates prove your server’s identity, and moving them to post-quantum signatures is a separate project.

What to do next

Checking one site by hand is quick. Checking every hostname your business uses, including portals, mail and remote access, takes longer and is easy to get wrong.

Get a free PQ Snapshot. We scan your public hostnames and send results within two business days. For a deeper review of up to 10 hostnames, see the PQ Readiness Check.

Free PQ Snapshot

Check your encryption, free

Yes: tell us your domain and business email, and we will scan your public hostnames for free and send you a plain-English Snapshot within two business days.

  • Public hostnames only. No access or logins.
  • Results within two business days.
  • Business email required, so we can verify the domain.

For example yourcompany.com. We only scan public hostnames.

Use an address at your domain so we can verify it is yours.