pretend to support chain (#245)

This commit is contained in:
Boshi Lian
2019-02-15 11:57:24 -08:00
committed by Kubernetes Prow Robot
parent a349292fc2
commit 406df57f9d
3 changed files with 59 additions and 6 deletions

View File

@@ -70,5 +70,15 @@ namespace k8s.Tests
var cert = CertUtils.GeneratePfx(cfg);
Assert.NotNull(cert.PrivateKey);
}
/// <summary>
/// Checks
/// </summary>
[Fact]
public void LoadPemWithMultiCert()
{
var cert = CertUtils.LoadPemFileCert("assets/ca3.crt");
Assert.NotNull(cert.PublicKey);
}
}
}