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