5 references to LoadFromStoreCert
Certificate.Optional.Sample (1)
Program.cs (1)
26
var serverCertificate = CertificateLoader.
LoadFromStoreCert
(
Http3SampleApp (1)
Program.cs (1)
27
var cert = CertificateLoader.
LoadFromStoreCert
("localhost", StoreName.My.ToString(), StoreLocation.CurrentUser, false);
Kestrel.SampleApp (1)
Startup.cs (1)
128
var localhostCert = CertificateLoader.
LoadFromStoreCert
("localhost", "My", StoreLocation.CurrentUser, allowInvalid: true);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Certificates\CertificateConfigLoader.cs (1)
189
return CertificateLoader.
LoadFromStoreCert
(subject, storeName, storeLocation, allowInvalid);
ListenOptionsHttpsExtensions.cs (1)
117
return listenOptions.UseHttps(CertificateLoader.
LoadFromStoreCert
(subject, storeName.ToString(), location, allowInvalid), configureOptions);