10 writes to SslOptions
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
139httpHandler.SslOptions = new SslClientAuthenticationOptions
Aspire.Dashboard.Tests (2)
Integration\IntegrationTestHelpers.cs (2)
119SslOptions = 180SslOptions =
HttpStress (1)
Program.cs (1)
515SslOptions = new SslClientAuthenticationOptions
InMemory.FunctionalTests (4)
EventSourceTests.cs (1)
178SslOptions = new SslClientAuthenticationOptions
KestrelMetricsTests.cs (3)
714SslOptions = new SslClientAuthenticationOptions 793SslOptions = new SslClientAuthenticationOptions 883SslOptions = new SslClientAuthenticationOptions
Interop.FunctionalTests (2)
Http3\Http3TlsTests.cs (1)
488httpHandler.SslOptions = new SslClientAuthenticationOptions
HttpHelpers.cs (1)
41handler.SslOptions = new System.Net.Security.SslClientAuthenticationOptions
16 references to SslOptions
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
144configuration.Bind("Dashboard:ResourceServiceClient:Ssl", httpHandler.SslOptions);
Aspire.Dashboard.Tests (3)
Integration\DashboardClientAuthTests.cs (1)
132configureHttpHandler: handler => handler.SslOptions.RemoteCertificateValidationCallback = (sender, cert, chain, sslPolicyErrors) => true);
Integration\IntegrationTestHelpers.cs (2)
130handler.SslOptions.ClientCertificates = clientCertificates; 191handler.SslOptions.ClientCertificates = clientCertificates;
HttpClientApp (2)
Program.cs (2)
13handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true; 14handler.SslOptions.ClientCertificates = new X509CertificateCollection(new[] { TestResources.GetTestCertificate("eku.client.pfx") });
Interop.FunctionalTests (4)
HttpClientHttp2InteropTests.cs (4)
1628handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true; 1629handler.SslOptions.LocalCertificateSelectionCallback = (_, _, _, _, _) => TestResources.GetTestCertificate(); 1673handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true; 1674handler.SslOptions.LocalCertificateSelectionCallback = (_, _, _, _, _) => TestResources.GetTestCertificate();
Microsoft.DotNet.Arcade.Sdk (1)
src\DownloadFile.cs (1)
133handler.SslOptions.CertificateChainPolicy = new X509ChainPolicy
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (1)
36handler.SslOptions.RemoteCertificateValidationCallback = (_, _, _, _) => true;
System.Net.WebSockets.Client (4)
System\Net\WebSockets\WebSocketHandle.Managed.cs (4)
284handler.SslOptions.RemoteCertificateValidationCallback = options.RemoteCertificateValidationCallback; 301Debug.Assert(handler.SslOptions.ClientCertificates == null); 302handler.SslOptions.ClientCertificates = new X509Certificate2Collection(); 303handler.SslOptions.ClientCertificates.AddRange(options.ClientCertificates);