6 references to GetCertPath
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
SniOptionsSelectorTests.cs (1)
534
ServerCertificate = new X509Certificate2(TestResources.
GetCertPath
("aspnetdevcert.pfx"), "testPassword")
src\Shared\TestResources.cs (5)
31
return new X509Certificate2(
GetCertPath
(certName), "testPassword");
41
return new X509Certificate2(
GetCertPath
(certName), password);
46
var cert = X509Certificate2.CreateFromPemFile(
GetCertPath
(certName),
GetCertPath
(keyName));
69
fullChain.ImportFromPemFile(
GetCertPath
("leaf.com.crt"));