51 references to UseHttps
HttpStress (1)
Program.cs (1)
407listenOptions.UseHttps(cert);
InMemory.FunctionalTests (10)
EventSourceTests.cs (2)
158listenOptions.UseHttps(_x509Certificate2); 283listenOptions.UseHttps(_x509Certificate2);
HttpsConnectionMiddlewareTests.cs (1)
1385listenOptions.UseHttps(_x509Certificate2);
HttpsTests.cs (6)
179listenOptions.UseHttps(_x509Certificate2); 207listenOptions.UseHttps(_x509Certificate2); 251listenOptions.UseHttps(_x509Certificate2); 295listenOptions.UseHttps(_x509Certificate2); 326listenOptions.UseHttps(_x509Certificate2); 352listenOptions.UseHttps(_x509Certificate2);
LoggingConnectionMiddlewareTests.cs (1)
29listenOptions.UseHttps(TestResources.GetTestCertificate());
Interop.FunctionalTests (10)
H2SpecTests.cs (1)
41listenOptions.UseHttps(TestResources.GetTestCertificate());
Http2WebSocketInteropTests.cs (1)
183listenOptions.UseHttps(TestResources.GetTestCertificate());
Http3\Http3RequestTests.cs (6)
901listenOptions.UseHttps(TestResources.GetTestCertificate()); 1222listenOptions.UseHttps(TestResources.GetTestCertificate()).Use(@delegate => 1590listenOptions.UseHttps(TestResources.GetTestCertificate()); 1694listenOptions.UseHttps(TestResources.GetTestCertificate()); 1863listenOptions.UseHttps(TestResources.GetTestCertificate()); 2026listenOptions.UseHttps(TestResources.GetTestCertificate());
HttpClientHttp2InteropTests.cs (1)
1715listenOptions.UseHttps(TestResources.GetTestCertificate());
HttpHelpers.cs (1)
81listenOptions.UseHttps(TestResources.GetTestCertificate());
Microsoft.AspNetCore.Server.Kestrel.Core (2)
ListenOptionsHttpsExtensions.cs (2)
39return listenOptions.UseHttps(new X509Certificate2(Path.Combine(env.ContentRootPath, fileName))); 53return listenOptions.UseHttps(new X509Certificate2(Path.Combine(env.ContentRootPath, fileName), password));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
KestrelServerTests.cs (6)
382c.UseHttps(TestResources.GetTestCertificate()); 404c.UseHttps(TestResources.GetTestCertificate()); 428options.UseHttps(TestResources.GetTestCertificate()); 455options.UseHttps(TestResources.GetTestCertificate()); 486options.UseHttps(TestResources.GetTestCertificate()); 514options.UseHttps(TestResources.GetTestCertificate());
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
KestrelConfigurationLoaderTests.cs (1)
206opt.UseHttps(TestResources.GetTestCertificate());
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
WebHostTests.cs (7)
112listenOptions.UseHttps(TestResources.GetTestCertificate()); 117listenOptions.UseHttps(TestResources.GetTestCertificate()); 152listenOptions.UseHttps(TestResources.GetTestCertificate()); 189listenOptions.UseHttps(TestResources.GetTestCertificate()); 227listenOptions.UseHttps(TestResources.GetTestCertificate()); 298listenOptions.UseHttps(TestResources.GetTestCertificate()); 393listenOptions.UseHttps(TestResources.GetTestCertificate());
Microsoft.AspNetCore.Testing (1)
ServiceFakesWebHostExtensions.cs (1)
55_ = listenOptions.UseHttps(sslCertificate);
Sockets.BindTests (4)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (4)
241listenOptions.UseHttps(TestResources.GetTestCertificate()); 316listenOptions.UseHttps(TestResources.GetTestCertificate()); 615listenOptions.UseHttps(TestResources.GetTestCertificate()); 702listenOptions.UseHttps(TestResources.GetTestCertificate());
Sockets.FunctionalTests (6)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (3)
57listenOptions.UseHttps(_x509Certificate2); 83listenOptions.UseHttps(_x509Certificate2); 111listenOptions.UseHttps(_x509Certificate2);
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (3)
81listenOptions.UseHttps(_x509Certificate2); 138listenOptions.UseHttps(_x509Certificate2); 189listenOptions.UseHttps(_x509Certificate2);
WebTransportInteractiveSampleApp (1)
Program.cs (1)
33listenOptions.UseHttps(certificate);
WebTransportSampleApp (1)
Program.cs (1)
17listenOptions.UseHttps(GenerateManualCertificate());
WsFedSample (1)
Program.cs (1)
24listenOptions.UseHttps(serverCertificate);