tests: Use 'localhost' to match SAN of `integration/fixtures/server.crt`
parent
91472797ff
commit
c6686734b1
|
@ -234,7 +234,7 @@ func TestEtcdPeerNameAuth(t *testing.T) {
|
||||||
"--peer-key-file", privateKeyPath,
|
"--peer-key-file", privateKeyPath,
|
||||||
"--peer-trusted-ca-file", caPath,
|
"--peer-trusted-ca-file", caPath,
|
||||||
"--peer-client-cert-auth",
|
"--peer-client-cert-auth",
|
||||||
"--peer-cert-allowed-hostname", "example.com",
|
"--peer-cert-allowed-hostname", "localhost",
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
args = []string{
|
args = []string{
|
||||||
|
|
Loading…
Reference in New Issue