ClientCertificateValidationCallbacks.AllowSelfSignedForDevelopment method
Allows self-signed client certificates (chain errors only) for development.
public static bool AllowSelfSignedForDevelopment(X509Certificate2 certificate, X509Chain chain,
SslPolicyErrors sslPolicyErrors)
| parameter | description |
|---|---|
| certificate | The client certificate. |
| chain | The X509 chain. |
| sslPolicyErrors | Any SSL policy errors. |
Return Value
true when the certificate is present and the only error is chain errors.
See Also
- class ClientCertificateValidationCallbacks
- namespace Kestrun.Certificates