Where .NET uses cryptography: SslStream, X509 and cryptography APIs

This entry lists where .NET applications use cryptography for TLS, certificates, keys and signatures, and which of those items rely on RSA, Diffie-Hellman or elliptic-curve keys.

On this page

Where does .NET use cryptography in our estate, and who should own that inventory?

An inventory entry for .NET is the first step in building a cryptographic inventory for your estate, and it has to cover more than the application code. Microsoft's .NET documentation says cryptographic operations are carried out by operating system libraries, so a .NET application can only use the cryptographic features the operating system supports. The inventory therefore needs two layers: the .NET runtime and libraries your applications call, and the OS that performs the work underneath them. On Windows, RSA.Create returns an object powered by CNG, which Microsoft calls an implementation detail subject to change. On Linux, .NET uses OpenSSL. Record the runtime version and the OS build for each host, because the same application code can behave differently on each.

The areas to cover are TLS through SslStream, certificate and key handling through X509Certificate2 and the cryptography classes, trust roots, and post-quantum APIs as new code paths. For SslStream, list every server and client that uses it, the EnabledSslProtocols setting (Microsoft recommends leaving it at None so the OS chooses), and any mutual TLS. For certificates and keys, list where private keys are loaded, which RSA, ECDsa and ECDiffieHellman instances are created, and which PKCS#12 files are exported. For trust roots, record where SSL_CERT_FILE and SSL_CERT_DIR point on Linux, and which custom CertificateChainPolicy or RemoteCertificateValidationCallback settings override defaults. Mark any code that calls the new MLKem, MLDsa or SlhDsa types separately, since those are new code paths and not yet a standing part of your TLS or certificate flows.

Assign ownership in two roles. The engineer who builds the inventory should be the one who can read the source, query the runtime and OS versions on each host, and trace where SslStream, X509Certificate2 and the cryptography classes are called. The security lead should sign off on the completed inventory, confirm that the OS and runtime versions are supported, and decide which entries need follow-up. Make the sign-off explicit and dated, since the .NET support policy lists specific end-of-support dates for each release, and an inventory that records an unsupported runtime is a finding in itself. Confirm with your own engineering and vendor contacts any detail your estate needs that these documents do not state.

Which .NET cryptography areas should the inventory record?

SslStream carries TLS for .NET applications, protecting data in transit between a client and a server. Its handshake uses RSA or ECDsa certificates for authentication and ECDiffieHellman or RSA for key exchange, so every SslStream connection is a public-key dependency. The TLS version is chosen by the operating system because Microsoft recommends leaving EnabledSslProtocols at None, the default. Cipher suites can be restricted with CipherSuitesPolicy, but Microsoft recommends letting the OS decide and notes that CipherSuitesPolicy throws NotSupportedException on Windows. Record each SslStream use, including whether it runs as a client, a server, or both, and whether it uses mutual TLS.

  • Key exchange: ECDiffieHellman or RSA, set by the negotiated cipher suite and the OS.
  • Authentication: RSA or ECDsa server certificates, with client certificates added for mutual TLS.
  • Configuration location: SslServerAuthenticationOptions and SslClientAuthenticationOptions in application code, plus OS TLS policy.
  • Schannel status: Microsoft's .NET documentation does not state whether .NET SslStream uses Schannel on Windows. Confirm this with Microsoft or in your own test environment.
  • Post-quantum status: The TLS best-practices page does not mention post-quantum or hybrid key exchange.

Check each SslStream call site for its TLS role and for any hardcoded protocol or cipher setting that overrides the OS default.

How does SslStream choose TLS versions and cipher suites?

SslStream is the .NET type that carries TLS, and for most applications the safest setting is to let the operating system make the version choice. Microsoft's TLS best-practices page says the EnabledSslProtocols property should be left at None, which is the default. With that value, .NET defers the TLS version to the OS, so the negotiated version follows what Windows, Linux or macOS support and what the peer offers. When you audit a service, check that this property is not set to a specific version in code or configuration, because a hard-coded value overrides the OS and can pin a connection to an older protocol. Confirm this in each application that calls SslStream directly and in any library that wraps it.

Cipher suites are handled separately. The CipherSuitesPolicy class can restrict which suites SslStream offers, but Microsoft recommends letting the OS decide rather than maintaining your own list. Also note that CipherSuitesPolicy is not supported on Windows: instantiating it there throws a NotSupportedException, so a list that works on Linux will fail on Windows. On macOS, client-side TLS 1.3 is opt-in in .NET 10 through the AppContext switch System.Net.Security.UseNetworkFramework or the environment variable DOTNET_SYSTEM_NET_SECURITY_USENETWORKFRAMEWORK. When that switch is on, cipher suites are controlled by macOS rather than by .NET, so an inventory of suites on a Mac must be taken from the OS. Confirm which platform each service runs on before recording its suites.

On .NET Framework the decision sits with Schannel on Windows, which chooses the TLS version. Windows 10 reaches TLS 1.2 and Windows 11 reaches TLS 1.3 on .NET Framework 4.6.2 and later. The behavior is governed by the AppContext switches Switch.System.Net.DontEnableSchUseStrongCrypto and Switch.System.Net.DontEnableSystemDefaultTlsVersions, or by the registry keys SchUseStrongCrypto and SystemDefaultTlsVersions. Older applications often set these to force a version, so check both the registry and the application configuration files on each host. Post-quantum key exchange is not covered here: the .NET documentation reviewed does not describe a setting that changes SslStream's key exchange, so confirm the current state with Microsoft before planning around it.

Which certificates and keys does a .NET application hold?

A .NET application that uses SslStream holds server certificates, may hold client certificates, and relies on a trust chain set by the operating system. Each of these has a different place in the configuration and a different owner, so the inventory needs to record them separately before any post-quantum planning starts.

Server certificate supplied to SslStream

A TLS server built on SslStream always needs an X509Certificate2 that includes a private key. It is supplied through SslServerAuthenticationOptions.ServerCertificate, through ServerCertificateSelectionCallback, or through ServerCertificateContext. Record which of the three mechanisms each service uses, the certificate's public key algorithm, and where the private key is stored. Check whether the key is RSA or ECDSA, since that determines which public-key algorithms the signature depends on.

TLS/SSL best practices

Client certificates for mutual TLS

For mutual TLS, a client supplies its own certificate through ClientCertificates, LocalCertificateSelectionCallback, or ClientCertificateContext. Each application that makes outbound mTLS calls holds its own client identity, which is easy to miss in an inventory because it is often configured in code rather than in a server config file. Record which services present a client certificate, who issued it, and whether its private key is exportable.

TLS/SSL best practices

Chain validation policy and callbacks

Validation can be customized in two places: CertificateChainPolicy, whose RevocationMode, TrustMode and CustomTrustStore override other settings, and RemoteCertificateValidationCallback. Servers that validate client certificates may contact external servers for AIA downloads and revocation checks. Record which of these is set in each service, because a custom callback can replace the platform's trust decision entirely.

TLS/SSL best practices

Trust roots on Linux and Windows

On Linux, .NET finds trusted roots through OpenSSL, using the SSL_CERT_FILE and SSL_CERT_DIR environment variables, and the LocalMachine Root store is an interpretation of the OpenSSL CA bundle. On Windows, the LocalMachine Root store is used directly. Record which root bundle each deployment reads, since a container image or service unit may set these variables differently from the host. The trust store is set by the operating system, not by the .NET version.

Cross-platform cryptography

PKCS#12 export settings in .NET 10

Starting in .NET 10, X509Certificate.ExportPkcs12 lets the caller choose Pkcs12TripleDesSha1, which is widely compatible, or Pbes2Aes256Sha256, which uses AES and SHA-2-256. Any tooling that exports a key bundle should record which option it uses, since older compatibility settings will move keys to a legacy protection scheme. Also check X509Certificate2Collection.FindByThumbprint, which now accepts a hash algorithm name in addition to SHA-1 thumbprints.

What's new in .NET 10

Default that disables AIA downloads in .NET 11

Starting in .NET 11, SslStream disables AIA certificate downloads by default when a server validates client certificates and no custom CertificateChainPolicy is provided. Services that depended on AIA fetching to build a chain will see different validation results after upgrading. Record which services validate client certificates, whether they set a custom policy, and whether they will move to .NET 11, so the change is tested before it reaches production.

TLS/SSL best practices

Which algorithms and curves does the OS provide to .NET?

.NET does not carry its own cryptographic algorithm implementations for these operations: the operating system does. Microsoft's documentation says cryptographic operations in .NET are performed by OS libraries, so an application can only use the algorithms, key sizes and curves that the platform it runs on supports. For an inventory, this means the answer to "which curves does my .NET app use" depends on the OS image, the OpenSSL build or the Windows release in production, not only on the .NET version. Confirm the target OS and library version for each deployment before recording an algorithm list.

For elliptic curves, Microsoft's cross-platform page says ECDSA and ECDH support NIST P-256, P-384 and P-521 on all listed platforms. Other named curves vary by OS, so a curve that works on one Linux distribution may not exist on Windows or macOS. RSA key generation is also limited by the OS, so the largest RSA key size an app can create is a platform question. Check each deployment with a short test program that generates the key and curve types you rely on, and record the results per platform.

The platform split determines which classes an app can call. On Windows, RSA.Create returns an object backed by CNG, which Microsoft calls an implementation detail subject to change, so code should not depend on the concrete type it returns. RSACng, ECDsaCng and ECDiffieHellmanCng are Windows-only, while RSAOpenSsl, ECDsaOpenSsl and ECDiffieHellmanOpenSsl are Linux-only. Starting in .NET 10, the OpenSSL classes no longer work on macOS, so an application that selected them explicitly will fail there. Review any code that names a platform-specific class and confirm that each target OS supports it.

For the post-quantum question, these classes are the place where an inventory should record which OS library backs each key operation. Post-quantum algorithms appear in .NET only where the OS provides them, so a curve or algorithm list captured today describes classical support only. Record the OS version, the OpenSSL version on Linux, and the .NET version together, because the answer changes with each one.

Where do post-quantum types show up in a .NET code inventory?

In .NET 10, post-quantum support arrives as types that code calls directly, so an inventory should search for them alongside the classical RSA, ECDSA and ECDH calls. The cards below list the types that matter, the platform checks they need, and what the sources do not show about existing SslStream and X509 paths.

MLKem, MLDsa and SlhDsa types

In .NET 10, ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) are exposed through the MLKem, MLDsa and SlhDsa types. They use static generate and import methods, so an inventory should search for those type names and their factory calls in application code. Before calling them, check the IsSupported property, because the algorithms work only where the operating system provides them, such as OpenSSL 3.5 or newer on Linux or Windows CNG with PQC support.

.NET 10 libraries

Diagnostic SYSLIB5006 on preview types

The MLKem type is not marked Experimental, although some of its methods are. MLDsa, SlhDsa and CompositeMLDsa are marked Experimental under diagnostic SYSLIB5006 until development is complete, so a build that uses them will raise that diagnostic. An inventory should note every use of these types and whether the build treats SYSLIB5006 as a warning or an error, since that status can change in later releases.

CompositeMLDsa signatures

CompositeMLDsa is a .NET 10 type that follows IETF draft-ietf-lamps-pq-composite-sigs at draft 8 as of .NET 10 GA, with primitive-method implementations for the RSA variants. The cross-platform table lists several composite algorithms, such as MLDSA44-ECDSA-P256-SHA256, as supported on Linux with OpenSSL 3.5.0+ and on Windows 11 Insiders (Latest). Inventory entries should record the draft version and the platform, since both bear on whether a signature can be verified elsewhere.

Cross-platform cryptography

Additions in .NET 11

The .NET 11 library notes add three types to search for in the next release: the classical X25519DiffieHellman class, the experimental CompositeMLKem type under diagnostic SYSLIB5006, and Hpke under diagnostic SYSLIB5009. EnvelopedCms also gains support for pure ML-KEM recipients, but only on non-Windows platforms. Projects that plan to move to .NET 11 should add these names to the inventory now so the review is not repeated later.

.NET 11 libraries

Calls in code, not a setting

The .NET documentation checked here describes post-quantum algorithms as APIs that a developer calls in code, with IsSupported used to test the platform. The sources do not describe a setting that turns on post-quantum algorithms for existing SslStream, X509 or other classical code paths. The TLS/SSL best-practices page does not mention post-quantum or hybrid key exchange, so an inventory should not assume that existing TLS connections are using them.

TLS/SSL best practices

How do administrators and tools reach .NET-hosted services?

The facts available for this page do not describe a management plane built into .NET itself. Administrators and tools reach a .NET-hosted service through whatever the application exposes, such as an ASP.NET web front end, an admin API or a service endpoint that the team wrote or a vendor shipped on .NET. Each such endpoint negotiates TLS through SslStream or through the hosting server (for example Kestrel or IIS), so the cryptographic settings that matter are set at the application or server layer rather than in a .NET-wide administration tool. For the inventory, record each management endpoint as its own line item, with the TLS protocol settings, the server certificate and its key type, and whether client certificates are required for administrator logins.

The facts do not describe SSH, SNMP or web administration features that ship as part of .NET. Do not assume that a .NET runtime or SDK provides an SSH server, an SNMP agent or an administrative console, and do not record those as present on the basis of this page. Confirm with the application's own documentation, or with the vendor if the application is third-party, which remote access protocols it offers and which libraries implement them. If an application brings its own SSH or SNMP library, that library is the component to inventory, and its cryptography will not be covered by the .NET pages in this section.

Two checks follow from this. First, for each admin or tool endpoint, confirm which certificate chain and trust store the service uses, because SslStream validates certificates through the operating system trust store unless the application overrides it through CertificateChainPolicy or a validation callback. Second, for servers that validate client certificates, note whether the application relies on AIA downloads or revocation checks, since those behaviors change in .NET 11 as described in the TLS best-practices page. Record the answers against the application and its .NET version, so the inventory reflects what each management path actually does.

What do update and support channels mean for the inventory?

Support status, OS-delivered cryptography and the documentation gaps all shape which .NET cryptographic behavior an inventory can rely on. Each card below names one channel and what to record for it.

Current .NET support window

As of December 3, 2026, Microsoft lists .NET 10 as LTS with end of support on November 14, 2028, and .NET 11 as STS with the same end of support date. Record the exact runtime version each application targets and runs on, because the support status applies to that release and not to the .NET family as a whole. Confirm the listed dates against the support policy page before filing them in the inventory.

.NET support policy

Releases already out of support

.NET 8 and .NET 9 have been out of support since November 10, 2026. Any application still running on either release receives no further .NET updates, so its cryptographic behavior will not change through the runtime. Flag these deployments as a separate inventory group, since they need a runtime upgrade decision before any post-quantum work can be planned on them.

.NET support policy

OS-delivered cryptography updates

Microsoft's .NET documentation says cryptographic operations are performed by operating system libraries, so .NET applications can use only the features the OS supports. Windows delivers the post-quantum APIs through update KB5068861 (OS build 26100.7171), so record the OS build alongside the .NET version. Confirm the build on each host with the OS update history, not only the OS name.

PQC APIs on Microsoft platforms

OS patching changes cryptographic behavior

Because .NET runs on OS libraries, a patch to the operating system can change which algorithms, curves and protocol behaviors an application uses, even when the .NET runtime version stays the same. Treat OS patch records as part of the cryptographic inventory for each host, and note which hosts are patched by a separate team. Test significant OS updates against the applications on those hosts before rollout.

Cross-platform cryptography

No CNSA 2.0 statement for .NET

The .NET documentation reviewed here does not publish a CNSA 2.0 statement for .NET itself. Record CNSA 2.0 conformance for .NET as not documented, and ask Microsoft or the relevant contract owner to confirm in writing if a federal or national security customer requires it. Do not carry a conformance claim from OS or library documentation over to .NET without that confirmation.

FIPS compliance for .NET Core

No FIPS 140-3 statement for .NET

The FIPS documentation for .NET Core, last updated May 21, 2025, describes the older FIPS 140-2 model and does not state FIPS 140-3 validation for .NET itself. It says .NET passes calls to OS cryptographic modules and leaves FIPS configuration to the administrator. Record FIPS 140-3 status as not documented for .NET, and verify the validation status of the specific OS modules in use.

FIPS compliance for .NET Core

Which .NET items need a row in the cryptographic inventory?

This table lists the .NET areas that should appear in a cryptographic inventory, with the protected function, algorithm family, whether a public-key algorithm is involved, and where the setting lives. Rows marked dependent rely on RSA, ECDSA or ECDH, while rows marked not dependent use hashes or symmetric primitives only. Rows marked as not documented are areas where the .NET documentation reviewed here gives no post-quantum statement, so confirm those with Microsoft or in your own environment.

AreaWhat it protectsAlgorithm familyPublic-key dependency
TLS via SslStreamConnections between client and server, negotiated by the OSTLS 1.2 or 1.3 with ECDHE or RSA key exchangeYes
Server certificatesServer identity during the TLS handshakeRSA or ECDSA certificatesYes
Client certificates for mutual TLSClient identity during the TLS handshakeRSA or ECDSA certificatesYes
Certificate chain validationTrust decisions made through CertificateChainPolicy or callbacksSignature checks on X.509 chainsYes
Trust rootsRoot certificates from the OS store or OpenSSL CA bundleRoot keys, typically RSA or ECDSAYes
PKCS#12 exportCertificate and private key bundles written by ExportPkcs12PBES2 with AES-256 and SHA-256, or legacy 3DES and SHA-1No
RSA and ECDsa signaturesSigned data created with RSA or ECDsa APIsRSA or ECDSA signaturesYes
ECDH and RSA key exchangeShared secrets created with ECDiffieHellman or RSAECDH or RSA key agreementYes
PQC types (MLKem, MLDsa, SlhDsa)Post-quantum key and signature operations called from codeML-KEM, ML-DSA and SLH-DSANot applicable

How do you gather .NET cryptography data for the inventory?

This sequence collects the .NET runtime versions, code references, platform capabilities, certificate stores, TLS settings and open vendor questions that together form a cryptographic inventory for .NET estates. Each step produces a record that the security lead can check and keep with the dated evidence.

  1. List the .NET runtime versions in use

    Engineers list every .NET runtime and SDK installed on build agents, servers, containers and developer machines, including .NET Framework where it still runs. Compare each version against Microsoft's .NET support policy, which as of 2026-12-03 lists .NET 10 as LTS with end of support on November 14, 2028, and .NET 11 as STS with the same end-of-support date. Record that .NET 8 and .NET 9 have been out of support since November 10, 2026. The step is complete when each runtime has a row showing its version, its support status and the date you checked it.

  2. Search code for cryptography APIs

    Developers or assessors search the source repositories for SslStream, X509Certificate2, RSA, ECDsa, ECDiffieHellman and ExportPkcs12. Each hit is recorded with the file, the project, the calling service and whether the call is on a client, server or signing path. Include RSA.Create and the Cng and OpenSsl named classes, because those show which backend the code selects. The step is complete when every hit is listed in the inventory and the team has confirmed that no references were skipped in generated or vendored code.

  3. Check OS algorithm and curve support

    Because .NET performs cryptographic operations through operating system libraries, operators record the OS and build for each host and check which algorithms and curves it provides. On Windows, RSA.Create uses CNG, and RSACng, ECDsaCng and ECDiffieHellmanCng are Windows-only. On Linux, the OpenSsl classes apply, and OpenSSL 3.5.0 or later is needed for the post-quantum algorithms. Windows 11 Insiders builds are also named in the cross-platform table for some ML-KEM and ML-DSA entries. Check the platform's IsSupported property in a test program on each OS image. The step is complete when each host has a recorded OS build, OpenSSL version where applicable, and the result of the IsSupported checks.

  4. Record certificate stores and trust roots

    Operators list the certificate stores that each application reads, including the LocalMachine and CurrentUser Root stores on Windows and the trusted roots that .NET obtains on Linux. On Linux, record the values of SSL_CERT_FILE and SSL_CERT_DIR for each service, because .NET uses OpenSSL to locate trusted roots and the LocalMachine Root store is an interpretation of the OpenSSL CA bundle. Note any custom trust stores set in code through CertificateChainPolicy. The step is complete when each service has a list of the stores and roots it trusts, with the source of each entry.

  5. Review TLS and cipher suite configuration

    Engineers review each SslStream usage for an explicit EnabledSslProtocols value, a CipherSuitesPolicy, a RemoteCertificateValidationCallback and any mutual TLS setup through ClientCertificates or a server certificate selection callback. Microsoft's best-practices page recommends leaving EnabledSslProtocols at None, which defers the choice to the operating system, and it recommends letting the OS decide cipher suites. Note that CipherSuitesPolicy is not supported on Windows and throws NotSupportedException there. On .NET Framework, record whether SchUseStrongCrypto and SystemDefaultTlsVersions are set. The step is complete when each TLS setting is recorded with its file and the operating system it runs on.

  6. Identify exports and PKCS12 formats

    Engineers find each place where code exports certificates or keys with ExportPkcs12 and record the PKCS12 format used. In .NET 10, callers can choose Pkcs12TripleDesSha1, which is widely compatible, or Pbes2Aes256Sha256. Also record every call to X509Certificate2Collection.FindByThumbprint, because it now accepts a hash algorithm name. Files produced by these calls are added to the inventory as data stores. The step is complete when each export and thumbprint lookup has a row showing the format, the file or service that consumes the output and the .NET version that runs the code.

  7. Send open questions to Microsoft or the vendor

    Some items cannot be seen in code, such as which key exchange a particular OS build negotiates, or whether an application vendor's packaged .NET binary uses a different runtime. Send these questions to Microsoft through the .NET documentation or support channels, and to the application vendor in writing. Ask whether .NET SslStream uses Schannel on Windows for TLS 1.3 key exchange, and whether post-quantum groups are active in the application's configuration. Keep each question and each answer with its date. The step is complete when every unanswered question has an owner, a date sent and a place in the inventory where the answer will be recorded.

What do engineers and vendor-risk reviewers ask about .NET cryptography inventory?

Is .NET quantum safe?

No single answer applies to .NET as a whole, and the facts do not support calling it quantum safe. What is supported is narrower: .NET 10 adds ML-KEM, ML-DSA and SLH-DSA through the MLKem, MLDsa and SlhDsa types, and these work only where the operating system provides them, which means OpenSSL 3.5 or newer on Linux or Windows CNG with PQC support. The existing SslStream, X509 and RSA or ECDSA code paths are classical, and the documentation describes PQC as APIs you call in code, not a setting that switches existing TLS or certificate handling to post-quantum algorithms. Record each use separately, and check each one with the IsSupported property on the target platform.

Which .NET version should we record in the inventory?

Record the exact runtime that each application runs on, not just the SDK installed on a build server. As of 2026-12-03, Microsoft lists .NET 10 as LTS with end of support on November 14, 2028, and .NET 11 as STS with end of support on the same date. .NET 8 and .NET 9 have been out of support since November 10, 2026. Also record the OS, because .NET delegates cryptography to it: the same code may use different algorithms, curves and TLS versions on Windows, Linux and macOS. On .NET Framework, record the Windows version too, since Schannel decides the TLS version there.

Does a .NET cryptography inventory cost extra, and what drives the effort?

The main drivers are the number of applications, how many use SslStream, X509 certificates or the RSA, ECDSA and ECDH APIs directly, and how many run on .NET Framework versus modern .NET. Costs are mostly staff time for code search, reviewing configuration and checking the OS each service runs on, and this is largely one-time work that is then kept current as code changes. Ask for the scope in writing: which repositories, which runtimes and which operating systems are covered. Microsoft's documentation does not publish a cost or effort figure for this work, so any estimate should come from your own service count.

What breaks if the OS libraries change under .NET?

Because .NET runs its cryptography on operating system libraries, an OS update can change which algorithms, key sizes and curves are available. Microsoft notes that RSA.Create on Windows returns a CNG-backed object, which it calls an implementation detail subject to change, and that RSA key generation is limited by OS size rules. On Linux, trusted roots come from OpenSSL through SSL_CERT_FILE and SSL_CERT_DIR, so a change to the CA bundle changes what the app trusts. On macOS, OpenSSL-based classes no longer work starting in .NET 10. Test each service after OS patches, and avoid pinning to implementation-specific classes such as RSACng or RSAOpenSsl unless the code truly needs them.

What should we ask Microsoft about .NET post-quantum support?

Ask for a written statement that covers each item you need to record. Useful questions include: which post-quantum algorithms are supported for SslStream and X509 in each .NET version, whether a hybrid key exchange such as X25519MLKEM768 is available to .NET code, whether a FIPS 140-3 validation or CNSA 2.0 position exists for .NET itself, and which OS builds are required for each algorithm. The public documentation checked here does not include a CNSA 2.0 statement for .NET, and the FIPS page is written around FIPS 140-2. Ask for the dates behind any roadmap item, since the .NET team's November 2025 post says SLH-DSA in COSE will probably arrive in .NET 11 but does not promise it.

Can our team run the .NET inventory alone, or do we need outside help?

Many teams can run the inventory with their own engineers, especially for a small number of services on one runtime. Outside help is more useful when the estate is large, spans several .NET Framework and modern .NET versions, or needs evidence for an assessor. DeployOpen plans and documents such work for self-hosted platforms inside the client's infrastructure, and runs security testing and prepares evidence for compliance assessments, though it does not issue audit reports or certifications. Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts, and a quote follows from that scope.

How DeployOpen works on this

DeployOpen builds a .NET cryptographic inventory from the code, configuration and runtime your team actually runs. We map where SslStream, X509 certificates and the cryptography APIs are used, record which algorithms and key sizes each path relies on, and hand you a dated record you can check against the OS and .NET release in use.

How we scope

  • We agree in writing which applications, services and .NET versions are in the inventory.
  • We confirm which operating systems and targets (Windows, Linux or macOS) each application runs on, since OS libraries decide what .NET can use.
  • We set the boundary for certificate stores, SslStream call sites and cryptography API usage before any scanning starts.

How we build

  • We search code and configuration for SslStream, X509Certificate2, RSA, ECDsa and ECDiffieHellman usage and record each call site.
  • We check EnabledSslProtocols, CipherSuitesPolicy, CertificateChainPolicy and RemoteCertificateValidationCallback settings against Microsoft's documented defaults.
  • We test each finding on the target OS, because RSA.Create, the OpenSSL-backed classes and certificate root locations differ by platform.

How we hand over

  • You receive a dated inventory listing each protocol, certificate and public-key use, with the .NET version and OS it was observed on.
  • Each entry notes whether the algorithm is a public-key algorithm that a post-quantum migration would need to address.
  • Open questions, such as settings Microsoft leaves to the operating system, are listed for you to confirm with the vendor or in your own environment.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support is available as a retainer, so the inventory can be refreshed when .NET releases or OS versions change.
  • We can rerun the inventory after upgrades so your records reflect the .NET and OS versions you run at each point in time.

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.