What .NET needs to use post-quantum algorithms

In .NET 10 and later, post-quantum algorithms are available only as APIs that code calls directly, and only where the OS supplies them: OpenSSL 3.5.0 or newer on Linux, or Windows 11 with PQC support in CNG.

On this page

Does .NET need anything beyond a recent version to use post-quantum algorithms?

If you are an engineer or security lead planning a .NET upgrade, the short answer is yes: a recent version is necessary but not sufficient. Post-quantum algorithms (ML-KEM, ML-DSA and SLH-DSA) arrive in .NET 10 through the MLKem, MLDsa and SlhDsa types, but they work only where the operating system provides them. On Linux that means OpenSSL 3.5.0 or newer, and on Windows it means CNG with PQC support. As of 2026-12-04, Microsoft's TLS documentation for SslStream describes no setting that enables these algorithms for existing TLS code. The support dates matter for planning: .NET 8 and .NET 9 have been out of support since November 10, 2026, .NET 10 is the LTS release supported until November 14, 2028, and .NET 11 is an STS release, also supported until November 14, 2028.

In practice, check three things before you plan the work. First, confirm the operating system: run openssl version on Linux hosts and confirm the version is 3.5.0 or newer, and on Windows confirm the build and PQC support, since Microsoft's November 2025 announcement ties general availability to Windows Server 2025, Windows 11 24H2 and 25H2 and update KB5068861. Second, confirm the platform matrix: Microsoft's cross-platform table lists ML-KEM and ML-DSA as supported on Linux with OpenSSL 3.5.0+ and on Windows 11 Insiders (Latest), and lists them as unsupported on Apple, Android and Browser. Third, confirm the TLS path: the .NET team's November 18, 2025 post says SslStream needs TLS 1.3 plus OS and peer support before ML-DSA or SLH-DSA certificates work, and that ML-KEM keys in certificates cannot be used with TLS. Your application code is not the only dependency: the TLS stack, the peer and the certificates all have to line up.

Treat any claim beyond these facts as something to verify, not something to assume. Ask your Microsoft account team or check the current documentation before you describe a .NET service as quantum-safe, compliant or validated, because the published pages do not make those statements. Microsoft's FIPS page for .NET Core says the runtime leaves FIPS configuration to the system administrator and algorithm choice to the developer, and the .NET documentation checked here contains no CNSA 2.0 statement and no FIPS 140-3 validation statement for .NET itself. Record what you confirmed, the OS and .NET versions you tested and the dates of your checks, so your inventory reflects the actual state of your estate.

Requirements by .NET version, platform and algorithm family

This table compares what each .NET version and platform needs before post-quantum algorithms can run, which algorithm families are listed as supported, and whether PKCS#12 works, with the source and date for each row. Read each row against the platform you actually run, because support depends on the OS library underneath .NET. The main takeaway is that ML-KEM and ML-DSA are listed on Linux with OpenSSL 3.5.0+ and Windows 11 Insiders, SLH-DSA only on Linux, and macOS, Android and Browser are marked unsupported as of the 2026-11-25 table.

Platform or versionRequirementSupported PQC algorithmsPKCS#12 supportSource and date
.NET 10 (LTS)Released November 11, 2025; support ends November 14, 2028. Uses OS cryptographic libraries for PQCML-KEM, ML-DSA and SLH-DSA through MLKem, MLDsa and SlhDsa types; MLDsa, SlhDsa and CompositeMLDsa marked experimentalPkcs12 export support varies by platform; see the platform rowsMicrosoft .NET support policy and .NET 10 libraries notes; checked 2026-12-03
.NET 11 (STS)Released November 10, 2026; support ends November 14, 2028. Adds experimental CompositeMLKem and HpkeSame families as .NET 10 plus CompositeMLKem (experimental, SYSLIB5006); confirm each algorithm's IsSupported on your OSConfirm against the cross-platform table for your OSMicrosoft .NET 11 libraries notes, last updated 2026-11-10
WindowsRequires Windows CNG with PQC support, such as Windows Server 2025, Windows 11 24H2 and 25H2 with update KB5068861 (OS build 26100.7171)ML-KEM 512, 768, 1024 and ML-DSA 44, 65, 87 listed for Windows 11 Insiders (Latest); SLH-DSA not supportedML-DSA only; ML-KEM and SLH-DSA PKCS#12 not listed on WindowsMicrosoft cross-platform cryptography table updated 2026-11-25; PQC GA announcement, November 2025
Linux with OpenSSL 3.5.0+OpenSSL 3.5.0 or newer must be present and linked by .NET at runtimeML-KEM 512, 768, 1024; ML-DSA 44, 65, 87; all twelve SLH-DSA parameter sets; several composite algorithmsML-DSA, ML-KEM and SLH-DSA import, export and private key association listed on LinuxMicrosoft cross-platform cryptography table updated 2026-11-25
macOSOpenSSL support removed in .NET 10, so OpenSSL-backed classes no longer work on macOSUnsupported for PQC algorithms in the tableNot listed as supportedMicrosoft cross-platform cryptography table updated 2026-11-25
Android and BrowserNot a supported target for PQC algorithms in .NETUnsupported for PQC algorithms in the tableNot listed as supportedMicrosoft cross-platform cryptography table updated 2026-11-25
.NET Framework (with Microsoft.Bcl.Cryptography)Requires the Microsoft.Bcl.Cryptography NuGet package and an OS that provides PQC through CNG or OpenSSLAvailable only where the OS provides the algorithm; confirm the package version against the platform tableConfirm for your OS and package versionMicrosoft .NET 10 PQC notes and cross-platform cryptography table; checked 2026-12-03
SlhDsaCng (Windows)Windows-specific SLH-DSA classListed as not supported in the cross-platform tableNot applicableMicrosoft cross-platform cryptography table updated 2026-11-25

Why the operating system decides what .NET can use

On .NET, cryptography is done by operating system libraries, so .NET can only offer a post-quantum algorithm when the OS underneath it provides that algorithm. Microsoft's cryptography documentation says that in .NET Core and .NET 5 and later, the algorithm classes (CryptoServiceProvider, Managed and Cng) wrap the OS algorithms. Before you plan an upgrade, confirm the OS version and its cryptography library, not only the .NET version. On Linux, .NET uses OpenSSL, and the post-quantum types in .NET 10 work there only with OpenSSL 3.5.0 or newer. On Windows, they depend on CNG with post-quantum support, which Microsoft lists for Windows 11 Insider builds and for the generally available Windows releases named in its November 2025 announcement. Check the specific OS build you run, because a .NET upgrade alone will not add an algorithm the OS lacks.

The library split also decides which classes exist on which platform. RSAOpenSsl, ECDsaOpenSsl and ECDiffieHellmanOpenSsl are Linux-only, and RSACng, ECDsaCng and ECDiffieHellmanCng are Windows-only. On Windows, RSA.Create returns an object backed by CNG, and Microsoft describes that as an implementation detail that may change, so do not write code that depends on the concrete type RSA.Create returns. Starting in .NET 10, OpenSSL support on macOS was removed, so RSAOpenSsl, ECDsaOpenSsl, ECDiffieHellmanOpenSsl and DSAOpenSsl no longer work there. For a mixed fleet, test each target platform separately and record which classes each one loads. The TLS and cryptography libraries that a service calls on each host also belong in that inventory.

The most useful action here is to write down, for each platform, the OS version, the OpenSSL or CNG version, and the .NET runtime version, and test whether the post-quantum types report support on each one. Use the IsSupported property on MLKem, MLDsa and SlhDsa as the platform check, rather than assuming support from the version number. Confirm with your OS vendor or your operating system documentation which library build your hosts ship. Microsoft's support pages do not show every OS build, so ask the vendor for the exact build that includes the algorithm you need, and treat any gap you find as a reason to plan the OS upgrade alongside the .NET upgrade.

Which parts of the stack the upgrade touches

Post-quantum algorithms in .NET reach your code only through the .NET runtime and the operating system's crypto library, and TLS and certificates add their own requirements. Check each layer below before you plan an upgrade, because a supported runtime on an unsupported OS or TLS stack will not give you the algorithms.

The .NET runtime version

Post-quantum APIs (MLKem, MLDsa, SlhDsa) ship in .NET 10 or later, which is the LTS release supported until November 14, 2028. Applications on .NET Framework can use the algorithms through the Microsoft.Bcl.Cryptography NuGet package instead, but the OS must still provide them. Check your target framework and any runtime pinned in your build or container images, and confirm that the version you pick is still under Microsoft's support policy.

Support policy

The OS crypto library

.NET does its cryptography through operating system libraries, so the algorithms exist only where the OS provides them. On Linux, that means OpenSSL 3.5.0 or later. On Windows, it means CNG with PQC support, which Microsoft ships in update KB5068861 (OS build 26100.7171) for Windows Server 2025 and Windows 11 24H2 and 25H2. Confirm the OpenSSL version on each Linux image and the Windows build on each host, since a runtime upgrade alone does not change either.

Microsoft PQC announcement

The TLS layer and its groups

SslStream needs TLS 1.3 and OS and peer support before it can use ML-DSA or SLH-DSA certificates, so a post-quantum certificate does not by itself make a connection post-quantum. On Windows 11 24H2 and later, Schannel lists hybrid groups such as X25519_MLKEM768 as supported but disabled by default. The .NET TLS guidance does not mention hybrid key exchange, so test each connection rather than assuming it negotiates a post-quantum group.

Schannel supported groups

Certificates and PKCS#12 files

ML-DSA certificates and PKCS#12 import, export and key association work on both Windows and Linux. ML-KEM and SLH-DSA PKCS#12 support is Linux only, and ML-KEM subject keys in a certificate cannot be used with TLS at all. Inventory every certificate and PKCS#12 file your services load, check the key type of each, and confirm the platform where each one must run before you reissue anything.

Cross-platform table

Trusted roots on Linux

On Linux, .NET locates trusted roots through OpenSSL using the SSL_CERT_FILE and SSL_CERT_DIR environment variables, and the LocalMachine Root store reflects the OpenSSL CA bundle. If you add a post-quantum root or intermediate CA, it has to appear in the location these variables point to. Check how each container and host sets them, because a root that is only present in the Windows store or a system directory will not be trusted by .NET on Linux.

Trust variables
2
Cross-platform cryptography

.NET 11 additions

.NET 11 adds CompositeMLKem and Hpke, both marked experimental under diagnostic SYSLIB5006 and SYSLIB5009, plus EnvelopedCms support for pure ML-KEM recipients on non-Windows platforms only. If your design depends on these, treat them as preview surfaces that may change, and confirm that your target platforms support them before you commit to a .NET 11 plan.

.NET 11 library notes

How the requirements differ by platform and runtime

On Windows, .NET 10 and later reach post-quantum algorithms through Windows CNG, so the OS version matters as much as the .NET version. The cross-platform table lists ML-KEM and ML-DSA on Windows 11 Insiders (Latest), and Microsoft's November 2025 announcement says PQC algorithms are generally available in Windows Server 2025 and Windows 11 24H2 and 25H2, delivered through update KB5068861 (OS build 26100.7171).

  • Insiders build in the table: The cross-platform table names Windows 11 Insiders (Latest) for ML-KEM and ML-DSA, which is a preview channel, not a general release.
  • General availability: Windows Server 2025 and Windows 11 24H2 and 25H2 received PQC support through KB5068861, so confirm that the update is installed on each machine.
  • SLH-DSA is absent on Windows: The table lists SLH-DSA as supported only on Linux with OpenSSL 3.5.0+, and SlhDsaCng as not supported.
  • PKCS#12 on Windows: Import, export and private key association work for ML-DSA on Windows, but not for ML-KEM or SLH-DSA.
  • TLS groups are off by default: Hybrid key exchange groups such as X25519_MLKEM768 are listed but disabled by default on Windows 11 24H2 and later, and the Windows FAQ does not say whether SslStream uses Schannel for them.

Confirm the exact Windows build and update level on every host, and test SslStream behavior on that build before assuming hybrid key exchange is in use.

What a team should check before planning a .NET post-quantum upgrade

The sequence below establishes which .NET runtimes, operating systems and cryptographic libraries a team runs, where its code calls the APIs that a post-quantum change would touch, and what the platforms actually support. Each step ends with a recorded result that the upgrade plan can rely on.

  1. Confirm the .NET runtimes in use and their support status

    Inventory every .NET runtime and version deployed across servers, containers, build agents and developer machines, including .NET Framework 4.x where it still runs. Compare each version against Microsoft's .NET support policy. As of 2026-12-03 the policy lists .NET 10 as LTS with end of support on November 14, 2028, .NET 11 as STS with end of support on November 14, 2028, and .NET 8 and .NET 9 as out of support since November 10, 2026. Anything out of support does not receive the libraries that carry post-quantum types, so the team should flag it for a runtime upgrade. The check is complete when each runtime has a recorded version, owner and support status.

  2. Verify the operating system and cryptographic library on each host

    On each target host, record the operating system build and the cryptographic library that .NET will call. On Linux, .NET uses OpenSSL, and post-quantum algorithms need OpenSSL 3.5.0 or newer. On Windows, check the build against the requirement in Microsoft's post-quantum announcement: the November 2025 release delivered PQC in Windows Server 2025, Windows 11 24H2 and 25H2 through update KB5068861 (OS build 26100.7171). Confirm the actual OpenSSL version with openssl version on Linux and the Windows build with winver or ver. The check is complete when each host has a recorded OpenSSL version or Windows build that either meets or fails the threshold.

  3. Identify code paths that call TLS, X509 and public-key APIs

    Search the codebase for direct use of SslStream, X509Certificate2, and the RSA, ECDsa and ECDiffieHellman classes, including their platform-specific variants such as RSACng, ECDsaCng and ECDiffieHellmanOpenSsl. Post-quantum types in .NET are called in code, and the .NET documentation reviewed here describes no setting that switches post-quantum algorithms on for existing classical code paths. Listing these call sites tells the team which parts of the application need code changes and which only depend on the operating system. Note that RSAOpenSsl, ECDsaOpenSsl and ECDiffieHellmanOpenSsl do not work on macOS starting in .NET 10. The check is complete when each call site appears in a list with its file, project and purpose.

  4. Test platform support for MLKem, MLDsa and SlhDsa

    Write a small console program that prints the IsSupported property for the MLKem, MLDsa and SlhDsa types, then run it on each target platform and runtime version. These types arrived in .NET 10 and return true only where the operating system provides the algorithm. Microsoft's cross-platform table lists ML-KEM and ML-DSA as supported on Linux with OpenSSL 3.5.0 or newer and on Windows 11 Insiders, and lists SLH-DSA as supported only on Linux with OpenSSL 3.5.0 or newer. Because SLH-DSA is not supported on Windows, a Windows-only estate will return false for it. Record the output as the first hard evidence of what each platform offers. The check is complete when every target platform has a recorded set of true and false results for the three types.

  5. Test TLS 1.3 with ML-DSA certificates against real peers

    If the upgrade needs certificates that carry ML-DSA keys, test SslStream with TLS 1.3 against the peers the application actually talks to, not a local loopback. The .NET team's November 18, 2025 blog post says SslStream needs TLS 1.3 plus operating system and peer support to work with ML-DSA or SLH-DSA certificates, that ML-DSA certificates should generally work, and that ML-KEM subject keys cannot be used with TLS. Load a test certificate, run a handshake with each peer, and capture the negotiated protocol and any failure. Note that the TLS best-practices page for .NET does not mention post-quantum or hybrid key exchange, so a successful handshake here does not prove hybrid key exchange is in use. The check is complete when each peer has a recorded handshake result and negotiated protocol.

  6. Record each check result in the upgrade plan

    Collect the outputs from every previous step into one record per host and runtime: runtime version and support status, OpenSSL version or Windows build, the call-site list, the IsSupported results and the handshake outcomes. Mark each item as meeting, failing or not yet tested, and assign an owner to every failure. Use the record as the baseline for the upgrade plan, and rerun the affected checks after any runtime, operating system or certificate change. The check is complete when the record covers every host in scope and each cell has a result, an owner and a date.

Why turning on the runtime does not change existing TLS connections

The .NET documentation reviewed describes post-quantum cryptography as APIs a developer calls in code. The MLKem, MLDsa and SlhDsa types are created through static generate and import methods, and each exposes an IsSupported property that a program can check to see whether the platform provides the algorithm. The documentation does not describe a setting that switches on post-quantum or hybrid key exchange for existing SslStream, X509 or other classical code paths. The TLS best-practices page, last updated 2026-11-25, does not mention post-quantum or hybrid key exchange. The .NET team's November 18, 2025 blog post also does not mention X25519MLKEM768. Treat the absence of a setting as the current state, not as a gap that will close on its own. If you read that a runtime update enables hybrid TLS for your application, confirm the change with Microsoft and the release notes for your exact .NET version before you rely on it.

Two points follow for existing connections. First, the blog post states that ML-KEM subject keys in a certificate cannot be used with TLS, so an ML-KEM certificate does not give you a TLS handshake. Second, SslStream depends on the operating system for the negotiated protocol and groups, and the best-practices page says EnabledSslProtocols should be left at None, the default that defers the version choice to the OS. Do not set it to a fixed version in an attempt to force post-quantum behavior. Any change to TLS groups on Windows is made through Schannel and the OS, which Microsoft's supported groups documentation describes separately from .NET code.

For your inventory, record each SslStream and X509 use as classical, with the operating system and .NET version it runs on. Then ask Microsoft in writing whether any .NET release will add post-quantum or hybrid key exchange to SslStream, and which version and platform the answer covers. Until you have that answer, plan the upgrade on the assumption that existing TLS connections change only when your code or your operating system is changed, and verify the behavior in a test environment before you rely on it.

What Microsoft has not published for .NET yet

The .NET documentation covers post-quantum algorithm APIs, but several settings, statements and platform support points that a migration plan depends on are not published. Each card names one gap and the question to put to Microsoft or your vendor contact before you commit to a plan.

No setting for post-quantum key exchange in SslStream

The .NET documentation describes post-quantum algorithms as APIs that a developer calls in code, with no documented setting that turns on post-quantum or hybrid key exchange for existing SslStream connections. The TLS best-practices page does not mention post-quantum or hybrid key exchange, and the November 18, 2025 .NET blog post does not mention X25519MLKEM768. Existing TLS code will not gain these groups by upgrading the runtime alone. Ask Microsoft whether SslStream will expose a switch for hybrid groups, and on which OS versions it will rely on Schannel or OpenSSL for them.

TLS/SSL best practices

No CNSA 2.0 statement for .NET

The .NET documentation checked for this page publishes no CNSA 2.0 statement for .NET. Microsoft's August 2025 company-level roadmap says it strives to meet the CNSA 2.0 deadlines in CNSSP-15, but that post is not specific to .NET. If your organization must meet CNSA 2.0 through a federal contract, ask Microsoft which .NET releases, algorithms and parameter sets it considers in scope, and whether it will state that in writing for your version.

Microsoft quantum-safe roadmap

No FIPS 140-3 validation statement for .NET

Microsoft's .NET FIPS page is written around FIPS 140-2. It says .NET passes cryptographic calls to the operating system modules, does not enforce FIPS Approved algorithms or key sizes, and leaves FIPS configuration to the administrator and algorithm choice to the developer. The page makes no FIPS 140-3 validation statement for .NET itself. Ask Microsoft which validated module, version and operating system build a given .NET release relies on for ML-KEM, ML-DSA and SLH-DSA, and whether any of them carries FIPS 140-3 validation.

FIPS compliance .NET Core

SLH-DSA absent from Windows

The cross-platform table lists SLH-DSA, all twelve parameter sets, as supported only on Linux with OpenSSL 3.5.0 or later and not on Windows, and lists SlhDsaCng as not supported. The November 18, 2025 .NET post also says Windows had not yet added SLH-DSA as of that writing. A Windows-hosted service that needs SLH-DSA cannot rely on the platform today. Ask Microsoft for the Windows release and build in which SLH-DSA and SlhDsaCng will be supported, and whether that date applies to the Windows 11 Insider channel as well as general availability.

Cross-platform cryptography

COSE with SLH-DSA not promised

The .NET team's November 18, 2025 post says COSE with SLH-DSA will probably arrive in .NET 11, and states that this is not a promise. Teams that sign COSE objects for firmware, attestation or IoT devices should not build a release plan on that date. Ask Microsoft whether COSE with SLH-DSA is committed to a specific .NET release, which encoding and parameter sets it will cover, and whether a fallback is planned if it slips.

Post-quantum cryptography in .NET

What can go wrong during a .NET post-quantum upgrade

The most common failure is assuming that existing .NET code will pick up post-quantum protection when the runtime is upgraded. Microsoft's documentation describes post-quantum algorithms as APIs a developer calls directly, with IsSupported used to test the platform, and the pages checked here do not describe a setting that turns on post-quantum algorithms for existing SslStream, X509 or other classical code paths. Code written around RSA, ECDsa or ECDiffieHellman will keep using those classical types until it is changed. Teams should inventory where those types are used, and plan code changes, rather than treat a runtime upgrade as the change itself. Microsoft also states that RSA.Create on Windows returns an object powered by CNG, which it calls an implementation detail subject to change, so code that depends on the specific class behind RSA.Create should be reviewed and tested after an upgrade.

Platform support is the next risk. Post-quantum algorithms work only where the operating system provides them: OpenSSL 3.5.0 or newer on Linux, or Windows CNG with post-quantum support. On Apple and Android platforms, the cross-platform table lists ML-KEM and ML-DSA as unsupported, and SLH-DSA is not supported on Windows. Code that calls MLDsa, SlhDsa or MLKem without first checking IsSupported can fail at runtime on a platform the team did not test. The MLDsa, SlhDsa and CompositeMLDsa types are also marked Experimental under diagnostic SYSLIB5006, and Microsoft says that marking remains until development is complete, so the API surface may change between releases. Teams should confirm the exact release, the platform and the diagnostic status they are building against, and keep the diagnostic visible in their build rather than suppressing it.

Older estates add a separate exposure. Per the .NET support policy as of 2026-12-03, .NET 8 and .NET 9 are both out of support since November 10, 2026, so a runtime upgrade to a supported release is required before any post-quantum work can start on those applications. Also note that TLS session protection is not changed by a runtime upgrade alone: a TLS 1.3 session with a post-quantum key exchange needs the operating system and the peer to support it, and Microsoft's Windows documentation says hybrid TLS groups such as x25519_mlkem768 are supported but disabled by default on Windows 11 24H2 and later. The .NET team's November 18, 2025 post also states that SslStream needs TLS 1.3 plus OS and peer support for ML-DSA or SLH-DSA certificates, and that ML-KEM subject keys in a certificate cannot be used with TLS. Owners should confirm the TLS configuration of each service with its operating system and its peers before assuming protection.

Questions engineers and vendor-risk reviewers ask about .NET post-quantum requirements

Is .NET quantum safe once I upgrade?

Upgrading to a .NET release that includes post-quantum APIs does not by itself make an application quantum safe, and the researched facts do not support that claim. .NET 10 adds ML-KEM, ML-DSA and SLH-DSA types, but these are APIs that your code must call, and they work only where the operating system provides the algorithms. Existing SslStream, X509 and RSA or ECDH code paths are not switched to post-quantum algorithms by the upgrade. Microsoft's documentation describes these APIs as things a developer calls in code, with IsSupported to test the platform, and it does not describe a setting that turns on post-quantum algorithms for existing classical code. Treat the upgrade as a prerequisite that makes post-quantum options available, then inventory your key exchange, certificates and signatures to see what still uses classical algorithms.

Which .NET version do I need for post-quantum algorithms?

The post-quantum APIs start in .NET 10, which is the current LTS release, and Microsoft's support policy lists its end of support as November 14, 2028. The facts say .NET 11, which is STS with end of support November 14, 2028, adds experimental CompositeMLKem and Hpke types under diagnostic SYSLIB5006 and SYSLIB5009. The MLDsa, SlhDsa and CompositeMLDsa types in .NET 10 are also marked Experimental under SYSLIB5006. .NET 8 and .NET 9 are out of support as of November 10, 2026, so they do not receive these APIs. Check the release notes for the exact version and confirm which types are still experimental before you depend on them in production.

Does using post-quantum algorithms in .NET cost extra?

The researched facts give no licensing figure for .NET post-quantum support, and they do not state a price for any part of it. The post-quantum types ship as part of the .NET 10 libraries, and the facts also describe a Microsoft.Bcl.Cryptography NuGet package for .NET Framework. The real cost drivers are likely to be operating system upgrades, since algorithms work only where OpenSSL 3.5 or newer or Windows CNG with PQC support is present, and engineering and test time. Confirm with Microsoft whether any part of the runtime, library or OS support carries a license charge for your edition and agreement, and ask your Windows, Linux or cloud provider whether the OS build you need is covered by your current subscription.

What breaks when I enable post-quantum algorithms in .NET?

The main risks come from platform support and certificate handling, not from the APIs themselves. ML-KEM is not supported on Apple or Android platforms, and macOS dropped OpenSSL-backed classes in .NET 10, so behavior differs by platform. SslStream needs TLS 1.3 plus OS and peer support to work with ML-DSA or SLH-DSA certificates, and ML-KEM subject keys in a certificate cannot be used with TLS. The OS chooses cipher suites and TLS versions when EnabledSslProtocols is left at its default, so a change in the OS can change negotiated groups. Windows hybrid TLS groups are off by default, and enabling them is a machine-level change. Test each client and server pair in your own environment, because the facts do not state how every peer behaves.

What should I ask the vendor about .NET post-quantum support?

Ask Microsoft and your platform vendor for the specific statements that the facts show are missing or unclear, and record the date of each answer. The researched sources publish no CNSA 2.0 statement for .NET and no FIPS 140-3 validation statement for .NET itself, and the FIPS page written around FIPS 140-2 says .NET leaves FIPS configuration to the administrator. Ask whether TLS in SslStream will negotiate hybrid key exchange, since the TLS best-practices page does not mention it. Ask which operating system builds provide ML-KEM and ML-DSA for your platform, and whether SLH-DSA is planned for Windows, since the facts say it is not supported there. The gaps section of this page lists these items in full.

Can my team do this alone, or do we need outside help?

Your team can do the inventory and the test work alone if it has engineers who know the .NET cryptography APIs, the TLS stack on each platform, and certificate handling for mutual TLS. The work is mostly checking which connections and signatures use RSA or elliptic-curve keys, testing post-quantum code paths on each OS and peer, and writing down what you found. Outside help is useful when the estate spans many .NET releases, several operating systems, or systems that cannot be upgraded. DeployOpen can help plan the migration, test it in your environment, and document the results for your compliance and vendor-risk reviews. A scoping call is the usual first step, and the scope and deliverables are agreed in writing before work starts.

How DeployOpen helps plan and test a .NET post-quantum upgrade

DeployOpen works on .NET post-quantum readiness as a fixed-scope engagement inside your own infrastructure. The work starts with the OS and runtime versions you actually run, because .NET relies on operating system libraries for its cryptography, and ends with tested configurations and documentation your team can keep.

How we scope

  • Confirm which .NET versions and operating systems your applications run on, since PQC APIs depend on both.
  • Record which SslStream, X509 and RSA or ECDH call sites each application uses before choosing an upgrade path.
  • Agree the scope, deliverables and timeline in writing before any build or test work starts.

How we build

  • Set up test environments with OpenSSL 3.5 or newer on Linux, or Windows CNG with PQC support, to match your target platforms.
  • Test each PQC API you plan to call, checking IsSupported on every platform in your estate before relying on it.
  • Verify TLS and certificate behavior with SslStream, noting that ML-KEM keys cannot be used in TLS certificates.

How we hand over

  • Deliver a written record of the .NET versions, OS builds and libraries each tested configuration depends on.
  • Document which algorithms work on which platforms, including the cases where Linux and Windows results differ.
  • Provide a retest plan so your team can repeat the checks after .NET or OS updates change support.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial engagement ends.
  • Retest configurations when Microsoft changes .NET support status, such as the .NET 8 and .NET 9 end-of-support date.
  • Confirm with you which open items remain, such as roadmap items Microsoft has not committed to, before closing the engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.