How to enable post-quantum TLS on Fastly
Checked · Official docs
Rolled out to TLS 1.3 connections from April 2025 with no action needed.
Fastly terminates TLS for your visitors, so the key exchange they get is decided by Fastly, not by your origin server. Change it here first; your origin only matters for the hop from Fastly back to it. The hybrid falls back to classical X25519 for clients that don't support it, so turning it on doesn't break older browsers.
Turn on post-quantum key exchange
Fastly enables ML-KEM key exchange for TLS 1.3 clients automatically. If it's missing, check that the domain's TLS configuration allows TLS 1.3, or ask Fastly support.
Turn off TLS 1.0 and 1.1
Choose a TLS configuration with minimum TLS 1.2 for the domain.
Send HSTS
Set the header in VCL (vcl_deliver) or with a response header in your service configuration:
Strict-Transport-Security: max-age=31536000; includeSubDomains
Check that it worked
After you deploy, rescan your domain. A quantum-safe setup shows X25519MLKEM768 as the negotiated key exchange. From a terminal:
curl qsafe.sh/your-domain.com?fresh
Prefer to let an AI agent make the change? The qsafe-fix skill and the MCP server use this same guide. It's also available as JSON from /api/v1/fixes/fastly.