-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
area-System.SecurityquestionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.
Milestone
Description
Hi there.
I am not sure is this a bug or that behavior is expected. I was searching for some ways to validate a custom CA issued certificate and found this.
Setting ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority;
will allow the build method to return true even if you don't add certificates to the ExtraStore which completely defeats the purpose of checking.
I want to make sure this is an expected behavior and if so, ask how should I validate server certs against ca certs added to extra store?
Thank you.
MingweiSamuel and brent-robinson
Metadata
Metadata
Assignees
Labels
area-System.SecurityquestionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.