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.
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;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.