Learn how Fastly's post-quantum key exchange (ML-KEM) secures origin connections and client-to-edge traffic against future quantum decryption threats.
If this week's NSA advisory sent you looking at your post-quantum plans, here is the short version: Fastly customers are in good shape. Post-quantum key exchange is live on Fastly today, both for clients connecting to the edge and for connections back to your origins.
Fastly customers are prepared:
- For most customers, PQC is already enabled on your Fastly service.
- We also support PQC connections back to your origins. This is enabled by default in Compute and is a simple toggle in the UI for VCL services.
The NSA advisory is aimed at National Security Systems, but the threat applies to everyone: encrypted traffic collected today can be decrypted later. Our ML-KEM rollout for client-to-edge TLS began in April 2025 to close that gap, and the origin-side support provides the same protection to the second leg of every request starting in January 2026.
What Does ML-KEM Support from Fastly Enable? #
When turned on for a CDN backend, Fastly offers hybrid X25519MLKEM768 key exchange over TLS 1.3 connections to compatible origin servers.
A few practical details to keep in mind:
- Origin compatibility: Your origin must support TLS 1.3 and
X25519MLKEM768(this also supports strict origins that require ML-KEM). - Hybrid offer, not strict enforcement: This setting offers post-quantum key exchange when negotiating TLS 1.3. It does not disable classical fallback key exchanges or alter your origin’s certificates.
- Delivery-specific: This setting applies to delivery services, as Compute services already use post-quantum key exchange. You can follow the instructions below to enable this today and it will be the default for all customers next week.
How to Turn ML-KEM Support On
Choose the method that matches how you manage your delivery backends:
In the Fastly Control Panel
- Clone your delivery service configuration to an editable version.
- Go to Origins → Hosts → Edit host → TLS → Advanced TLS options
- Ensure the MAX TLS version is 1.3.
- Set Enable post-quantum key exchange explicitly toYes .
- Save and activate your service version, repeating for each relevant origin. (See Working with hosts for general origin setup instructions.)
Using the API
- On an editable service version, update each applicable TLS-enabled backend with
ssl_enable_pq_kexset totrue. For example:
curl --request PUT \
"https://api.fastly.com/service/SERVICE_ID/version/VERSION/backend/BACKEND_NAME" \
--header "Fastly-Key: $FASTLY_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{"ssl_enable_pq_kex": true}'
-
Replace the placeholders with your service ID, editable version number, and URL-encoded backend name.
-
Review the updated configuration and activate the service version to apply the change. See the Backend API reference for general backend update operations.
In VCL If you already define your backends in custom VCL, add this property inside each applicable TLS-enabled backend declaration, then validate and activate your service version:
.ssl_enable_pq_kex = yes;
Note: Enabling the setting in the UI generates this exact VCL property under the hood, so you can inspect your generated VCL at any time to confirm it is active. See the VCL backend reference for details.
As with any TLS change, we recommend enabling this on a single origin first, confirming connectivity and the negotiated key exchange, and then rolling it out across your backends at your own pace.
Future Plans #
Fastly is planning to support Merkle Tree Certificates (MTCs) in the future. This is the next big step in the post-quantum transition for TLS. The team at Fastly is here for you as you navigate this change - whether you’re a longstanding Fastly customer or in need of immediate protection. If you have any questions, please contact your account team or reach out to Fastly support.