From 233af4b4ec58d554f431f614155fca4bda652bf6 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Fri, 13 Apr 2018 12:03:55 -0700 Subject: [PATCH] integration: add IP only TLSInfos Signed-off-by: Gyuho Lee --- integration/cluster.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/integration/cluster.go b/integration/cluster.go index aaa96ab4d..eb26dee62 100644 --- a/integration/cluster.go +++ b/integration/cluster.go @@ -83,6 +83,13 @@ var ( ClientCertAuth: true, } + testTLSInfoIP = transport.TLSInfo{ + KeyFile: "./fixtures/server-ip.key.insecure", + CertFile: "./fixtures/server-ip.crt", + TrustedCAFile: "./fixtures/ca.crt", + ClientCertAuth: true, + } + testTLSInfoExpired = transport.TLSInfo{ KeyFile: "./fixtures-expired/server.key.insecure", CertFile: "./fixtures-expired/server.crt", @@ -90,6 +97,13 @@ var ( ClientCertAuth: true, } + testTLSInfoExpiredIP = transport.TLSInfo{ + KeyFile: "./fixtures-expired/server-ip.key.insecure", + CertFile: "./fixtures-expired/server-ip.crt", + TrustedCAFile: "./fixtures-expired/ca.crt", + ClientCertAuth: true, + } + plog = capnslog.NewPackageLogger("github.com/coreos/etcd", "integration") )