Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on ADFS external authentication project. I am using a self signed certificate, which is imported in Trusted people store. I need to verify whether importing a CA certificate to Trusted people store work or not.


What I have tried:

When I tried using the CA certificate in Trusted people, it does not work. Can you explain why ?
Posted
Comments
Garth J Lancaster 17-Jul-20 5:10am    
"it does not work" does not help us to identify what the specific issue is - maybe you could use the Improve question button to add that information and any code you have used .. check if this adds any useful information in code https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.openflags?redirectedfrom=MSDN&view=netcore-3.1#examples .. btw, look at Hide   Copy CodeHide   Copy Code
X509Store store = new X509Store(StoreName.My);
this would be what you want Hide   Copy CodeHide   Copy Code
X509Store store = new X509Store(StoreName.Root);


https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.storename?view=netcore-3.1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900