isquantumsafe Check a domain

isquantumsafe / Guides / IIS on Windows Server

Post-quantum TLS on IIS on Windows Server

Enable X25519MLKEM768 hybrid post-quantum key exchange (ML-KEM) for IIS on Windows Server 2025 with Schannel, Enable-TlsEccCurve or Group Policy, and test it.

Default
Off by default
You need
Windows Server 2025 with update KB5099536 (build 26100.33158) or later
Updated
4 December 2026 · 4 sources

IIS uses Windows Schannel for TLS, and Schannel's ML-KEM groups are off by default. On Windows Server 2025 with a recent cumulative update, you can turn on X25519MLKEM768 for the whole machine with one PowerShell command or a Group Policy setting.

Requirements

  • Windows Server 2025. Microsoft's PQC FAQ points to update KB5099536 (build 26100.33158, July 2026) for Windows Server 2025.
  • TLS 1.3 enabled in Schannel. All ML-KEM groups are listed as TLS 1.3 only.
  • Older releases such as Windows Server 2022 and 2019 are not listed as supported. Microsoft's supported-groups page covers Windows 11 24H2, Windows Server 2025 and later.
  • Schannel group names: x25519_mlkem768, secp256r1_mlkem768 and secp384r1_mlkem1024 (hybrids), plus pure mlkem512, mlkem768 and mlkem1024.

Enable it

Run this in an elevated PowerShell session on the IIS server, then reboot. Microsoft documents that a new curve order becomes active on the next reboot.

Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0

-Position 0 puts the hybrid group at the top of the list. Microsoft's FAQ says the position matters for negotiation. The default classical groups (curve25519, nistP256, nistP384) stay enabled behind it as fallback.

To check the resulting order:

Get-TlsEccCurve

For many servers, use Group Policy instead: Computer Configuration > Administrative Templates > Network > SSL Configuration Settings > ECC Curve Order. List the hybrid group first, then the classical groups you want to keep. Group Policy overrides the PowerShell setting, so do not mix the two.

Check it worked

From a machine with an OpenSSL 3.5 or newer client:

openssl s_client -connect example.com:443 -servername example.com \
  -groups X25519MLKEM768 -tls1_3 </dev/null 2>/dev/null | grep -i "group"

You should see Negotiated TLS1.3 group: X25519MLKEM768.

Run a free check at https://isquantumsafe.net/ to see the negotiated group and your grade.

Common problems

  • Server not patched. On builds older than the update above, the ML-KEM group names are not available. Install the latest cumulative update first.
  • Group Policy wins. If an ECC Curve Order policy is already applied, it overrides Enable-TlsEccCurve. Add the hybrid group to the policy instead.
  • TLS 1.3 disabled. Hybrid groups work only with TLS 1.3. Some hardening tools turn TLS 1.3 off in the registry. Check HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols.
  • A load balancer terminates TLS. If Azure Application Gateway, a CDN or another proxy sits in front of IIS, the visitor's key exchange happens there. Configure ML-KEM on that device instead.

Sources

  1. TLS Supported Groups in Windows 11 24H2, Windows Server 2025, and later (Microsoft Learn)
  2. Windows TLS 1.3 and Post-Quantum Crypto FAQ (Microsoft Tech Community)
  3. Manage Transport Layer Security (TLS) in Windows Server (Microsoft Learn)
  4. TLS PowerShell module (Microsoft Learn)

Other guides: Web servers