4 references to X509Certificate2
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Certificates\CertificateConfigLoader.cs (1)
75
return (new
X509Certificate2
(Path.Combine(HostEnvironment.ContentRootPath, certInfo.Path!), certInfo.Password), fullChain);
ListenOptionsHttpsExtensions.cs (2)
57
return listenOptions.UseHttps(new
X509Certificate2
(Path.Combine(env.ContentRootPath, fileName), password));
72
return listenOptions.UseHttps(new
X509Certificate2
(Path.Combine(env.ContentRootPath, fileName), password), configureOptions);
TlsConfigurationLoader.cs (1)
161
var certificate = new
X509Certificate2
(certificatePath, certificateConfig.Password);