How to enable post-quantum TLS on Vercel
Checked · Official docs
On by default for all deployments since November 2025.
Vercel terminates TLS for sites it hosts, so what visitors get depends on Vercel's own TLS stack. You can't install software there, but you control the settings below. 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
Vercel offers post-quantum key exchange on all deployments. If it's missing, the domain is probably served by something in front of Vercel; check your DNS.
Send HSTS
Vercel sends HSTS on its domains. For custom domains, add the header in vercel.json:
{
"headers": [{
"source": "/(.*)",
"headers": [{ "key": "Strict-Transport-Security", "value": "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/vercel.