2 references to UseHttps
Microsoft.AspNetCore.Server.Kestrel.Core (2)
ListenOptionsHttpsExtensions.cs (2)
72
return listenOptions.
UseHttps
(new X509Certificate2(Path.Combine(env.ContentRootPath, fileName), password), configureOptions);
121
return listenOptions.
UseHttps
(CertificateLoader.LoadFromStoreCert(subject, storeName.ToString(), location, allowInvalid), configureOptions);