integration: add IP only TLSInfos
@@ -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")
)
