29 writes to RemoteCertificateValidationCallback
Aspire.Dashboard.Tests (3)
Integration\DashboardClientAuthTests.cs (1)
137configureHttpHandler: handler => handler.SslOptions.RemoteCertificateValidationCallback = (sender, cert, chain, sslPolicyErrors) => true);
Integration\IntegrationTestHelpers.cs (2)
121RemoteCertificateValidationCallback = (message, cert, chain, errors) => 182RemoteCertificateValidationCallback = (message, cert, chain, errors) =>
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
HttpClientApp (1)
Program.cs (1)
13handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true;
HttpStress (1)
Program.cs (1)
517RemoteCertificateValidationCallback = delegate { return true; }
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
InMemory.FunctionalTests (6)
EventSourceTests.cs (1)
180RemoteCertificateValidationCallback = (_, _, _, _) => true
Http2\TlsTests.cs (1)
67RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
HttpsConnectionMiddlewareTests.cs (1)
792clientOptions.RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
KestrelMetricsTests.cs (3)
716RemoteCertificateValidationCallback = (_, _, _, _) => true 795RemoteCertificateValidationCallback = (_, _, _, _) => true 885RemoteCertificateValidationCallback = (_, _, _, _) => true
Interop.FunctionalTests (4)
Http3\Http3TlsTests.cs (1)
482RemoteCertificateValidationCallback = (object _sender, X509Certificate actualCertificate, X509Chain _chain, SslPolicyErrors _sslPolicyErrors) =>
HttpClientHttp2InteropTests.cs (2)
1628handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true; 1673handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true;
HttpHelpers.cs (1)
43RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
99RemoteCertificateValidationCallback = (_, __, ___, ____) => true,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicTestHelpers.cs (1)
138options.ClientAuthenticationOptions.RemoteCertificateValidationCallback = RemoteCertificateValidationCallback;
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (1)
36handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true;
System.Net.Http (3)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (1)
31RemoteCertificateValidationCallback = options.RemoteCertificateValidationCallback,
System\Net\Http\HttpClientHandler.cs (1)
315_underlyingHandler.SslOptions.RemoteCertificateValidationCallback = value != null ?
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
46sslOptions.RemoteCertificateValidationCallback = (object sender, X509Certificate? certificate, X509Chain? chain, SslPolicyErrors sslPolicyErrors) =>
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1742handler.SslOptions.RemoteCertificateValidationCallback = (message, cert, chain, errors) =>
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
284handler.SslOptions.RemoteCertificateValidationCallback = options.RemoteCertificateValidationCallback;
8 references to RemoteCertificateValidationCallback
System.Net.Http (3)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (1)
31RemoteCertificateValidationCallback = options.RemoteCertificateValidationCallback,
System\Net\Http\HttpClientHandler.cs (1)
311get => (_underlyingHandler.SslOptions.RemoteCertificateValidationCallback?.Target as ConnectHelper.CertificateCallbackMapper)?.FromHttpClientHandler;
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
40RemoteCertificateValidationCallback? callback = sslOptions.RemoteCertificateValidationCallback;
System.Net.Quic (2)
System\Net\Quic\QuicConnection.cs (1)
420options.ClientAuthenticationOptions.RemoteCertificateValidationCallback,
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
44/// Configured via <see cref="SslServerAuthenticationOptions.RemoteCertificateValidationCallback"/> or <see cref="SslClientAuthenticationOptions.RemoteCertificateValidationCallback"/>.
System.Net.Security (3)
System\Net\Security\SslAuthenticationOptions.cs (3)
24CertValidationDelegate = sslClientAuthenticationOptions.RemoteCertificateValidationCallback; 26else if (sslClientAuthenticationOptions.RemoteCertificateValidationCallback != null && 27CertValidationDelegate != sslClientAuthenticationOptions.RemoteCertificateValidationCallback)