4 references to CertificateLoader
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Certificates\CertificateConfigLoader.cs (1)
336return CertificateLoader.LoadFromStoreCert(subject, storeName, storeLocation, allowInvalid);
ListenOptionsHttpsExtensions.cs (1)
121return listenOptions.UseHttps(CertificateLoader.LoadFromStoreCert(subject, storeName.ToString(), location, allowInvalid), configureOptions);
Middleware\HttpsConnectionMiddleware.cs (2)
500if (!CertificateLoader.IsCertificateAllowedForServerAuth(certificate)) 504else if (!CertificateLoader.DoesCertificateHaveASubjectAlternativeName(certificate))