Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language support: C# (.NET) #7

Open
chriskilding opened this issue Jul 13, 2022 · 1 comment
Open

Language support: C# (.NET) #7

chriskilding opened this issue Jul 13, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@chriskilding
Copy link
Contributor

chriskilding commented Jul 13, 2022

Tracking support for native TLS certificate verification in C# and the .NET stack.

Because .NET is cross-platform, we need to consider not only whether it can access the Windows Certificate Store, but also native trust stores on other operating systems.

Runtimes to consider:

  • CLR / CoreCLR / whatever is in .NET 5+
  • Mono
@chriskilding chriskilding added the documentation Improvements or additions to documentation label Jul 13, 2022
@chriskilding
Copy link
Contributor Author

chriskilding commented Jul 13, 2022

Windows

If you are

it will use the native Windows Certificate Store to do TLS cert verification

(Hat tip to https://stackoverflow.com/q/63798167 where you can see that the user has added their custom certificate to the Certificate Store, in order for their C# program to see it.)

macOS

When using the System.Net APIs, on the official CLR, on macOS, it will use the Keychain to do TLS cert verification.

This is supported on all recent versions of the CLR. (This work was done in dotnet/corefx#17011 for dotnet corefx v2.0.0.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant