mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
tests: Use 'localhost' to match SAN of integration/fixtures/server.crt
This commit is contained in:
parent
91472797ff
commit
c6686734b1
@ -234,7 +234,7 @@ func TestEtcdPeerNameAuth(t *testing.T) {
|
||||
"--peer-key-file", privateKeyPath,
|
||||
"--peer-trusted-ca-file", caPath,
|
||||
"--peer-client-cert-auth",
|
||||
"--peer-cert-allowed-hostname", "example.com",
|
||||
"--peer-cert-allowed-hostname", "localhost",
|
||||
}
|
||||
} else {
|
||||
args = []string{
|
||||
|
Loading…
x
Reference in New Issue
Block a user