How to enable post-quantum TLS on Microsoft IIS
Checked · Official docs
Depends on Windows' TLS stack (SChannel), which is adding ML-KEM groups in recent Windows releases.
When Microsoft IIS faces the internet directly, it negotiates TLS with every visitor, so the change belongs in its TLS configuration. If a CDN or load balancer sits in front, fix that first: it is what visitors connect to. 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
IIS uses Windows' TLS stack. Check Microsoft's list of supported TLS groups for your Windows Server version and enable the ML-KEM hybrid group if it's available. Otherwise, put a CDN or reverse proxy that supports it in front of IIS.
Turn off TLS 1.0 and 1.1
Disable TLS 1.0 and 1.1 in SChannel (registry keys under SCHANNEL\Protocols), then restart.
Redirect HTTP to HTTPS
Add an HTTP-to-HTTPS rule with the URL Rewrite module, or bind the site to HTTPS only and redirect port 80.
Send HSTS
IIS 10 (Windows Server 2019+) has built-in HSTS: Site → HSTS → Enable, max-age 31536000, include subdomains, redirect HTTP to HTTPS.
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/iis.