Add bundle certificate support (#253)
* initial * add some comments * cleanup * var * Use X509Certificate2cCollection * add missing asset files * address comments
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f6b58d535a
commit
9bdaf132d4
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
@@ -221,7 +222,7 @@ namespace k8s.Tests
|
||||
Host = server.Uri.ToString(),
|
||||
ClientCertificateData = clientCertificateData,
|
||||
ClientCertificateKeyData = clientCertificateKeyData,
|
||||
SslCaCert = serverCertificate,
|
||||
SslCaCerts = new X509Certificate2Collection(serverCertificate),
|
||||
SkipTlsVerify = false
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user