isquantumsafe Check a domain

isquantumsafe / Guides / Fastly

Post-quantum TLS on Fastly

Fastly offers X25519MLKEM768 hybrid post-quantum key exchange (ML-KEM) to TLS 1.3 clients by default. How to turn it on toward your origin and how to test it.

Default
On by default
You need
Any Fastly TLS domain over TLS 1.3 (edge); origin side needs ssl_enable_pq_kex
Updated
4 December 2026 · 3 sources

Fastly supports X25519MLKEM768 for client connections to its edge over TLS 1.3, with no action needed. Fastly began rolling out ML-KEM across its CDN in April 2025. Connections from Fastly to your origin are a separate case: there the setting is opt-in for Delivery services today, and Fastly says it will become the default.

Requirements

  • A Fastly service with TLS on your domain. Fastly's TLS documentation states that TLS 1.3 supports the key exchanges X25519 and X25519MLKEM768.
  • TLS 1.3 from the client. Fastly managed certificates allow TLS 1.2 and 1.3; ML-KEM only applies to 1.3.
  • For the origin leg: an origin that supports TLS 1.3 and X25519MLKEM768, and a backend whose maximum TLS version is 1.3.

Enable it

Client to edge. Nothing to configure. Fastly's April 2025 post says customers using TLS 1.3 benefit automatically, and clients without ML-KEM connect as before.

Fastly to origin (Delivery services). In the Control Panel, clone the active version, then go to Origins > Hosts > edit the host > TLS > Advanced TLS options. Set the maximum TLS version to 1.3 and Enable post-quantum key exchange to Yes. Save and activate.

With the API, set the backend field on each TLS backend:

{
  "ssl_enable_pq_kex": true
}

In custom VCL, add the property to each TLS backend declaration:

backend F_origin {
  .host = "origin.example.com";
  .port = "443";
  .ssl = true;
  .ssl_enable_pq_kex = yes;
}

Fastly says Compute services already use post-quantum key exchange to origins, and that the setting does not remove classical fallback.

Check it worked

From a machine with an OpenSSL 3.5 or newer client:

openssl s_client -connect www.example.com:443 -servername www.example.com \
  -groups X25519MLKEM768 -tls1_3 </dev/null 2>/dev/null | grep -i "group"

You should see Negotiated TLS1.3 group: X25519MLKEM768. To test your origin directly, run the same command against the origin hostname.

Run a free check at https://isquantumsafe.net/ to see the negotiated group and your grade.

Common problems

  • TLS 1.2 clients. They connect with classical key exchange only.
  • Origin on old software. If the origin does not support X25519MLKEM768, Fastly falls back to a classical group. Upgrade the origin first; see the guide for your server software.
  • Backend capped at TLS 1.2. The origin option needs the backend's maximum TLS version set to 1.3.

Sources

  1. Fastly TLS prerequisites and limitations (Fastly docs)
  2. Future-proofing TLS encryption against quantum threats (Fastly blog, April 2025)
  3. End-to-end post-quantum: key exchange to origins (Fastly blog, December 2026)

Other guides: CDNs and cloud