mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: add IP only TLSInfos
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
@@ -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")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user