ClientCertificateValidationCallbacks.AllowMissingOrSelfSignedForDevelopment method
Allows connections without a client certificate, and allows self-signed client certificates (chain errors only) for development.
public static bool AllowMissingOrSelfSignedForDevelopment(X509Certificate2 certificate,
X509Chain chain, SslPolicyErrors sslPolicyErrors)
| parameter | description |
|---|---|
| certificate | The client certificate (may be null when the client does not present one). |
| chain | The X509 chain. |
| sslPolicyErrors | Any SSL policy errors. |
Return Value
true to accept the connection; otherwise false.
See Also
- class ClientCertificateValidationCallbacks
- namespace Kestrun.Certificates