Enable post-quantum key exchange on IIS (Windows Server)
IIS uses Schannel, the TLS engine built into Windows. Windows Server 2025 can negotiate hybrid post-quantum key exchange (X25519MLKEM768) after the July 2026 update, but Microsoft ships it switched off. Older Windows Server versions cannot do it at all.
Based on Microsoft's documentation for Windows Server 2025. Test on one server first, then run the Kexwatch check to confirm.
1. Check your Windows version
Run winver, or in PowerShell:
Get-ComputerInfo -Property OsName, OsBuildNumber
| Version | What to do |
|---|---|
| Windows Server 2025 | Go to step 2 |
| Windows Server 2022 or older | No support. Go to step 5 |
2. Install the July 2026 update or later
Hybrid post-quantum key exchange arrived in the cumulative update KB5099536 (14 July 2026). Any later monthly update includes it. Install updates through Windows Update or your usual patching tool, then restart.
3. Turn on the hybrid group
In PowerShell as Administrator:
Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0
-Position 0 puts it first in the list. Without it, Windows may keep choosing a classical group. Check the result:
Get-TlsEccCurve
x25519_mlkem768 should be at the top. On servers managed by Group Policy, set the same order under Computer Configuration, Administrative Templates, Network, SSL Configuration Settings, ECC Curve Order instead, or the policy will overwrite your change.
Restart the server so IIS picks up the new order.
4. Make sure TLS 1.3 is allowed
Hybrid key exchange only works over TLS 1.3. If someone switched TLS 1.3 off with a hardening tool or registry change, switch it back on. Leave TLS 1.2 on as well so older clients can still connect.
5. On Windows Server 2022 or older
There is no setting to change. Your options:
- Upgrade the server to Windows Server 2025.
- Put a service in front that already offers hybrid key exchange, such as Cloudflare. Visitors then connect to that service, not directly to IIS.
6. Check the result
Run the free check again. A pass means your server negotiates hybrid post-quantum key exchange with a modern client. Your certificate stays classical for now, which is expected.