mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-31 11:31:07 +02:00
Change test cluster to request client cert rather than verify if given
This commit is contained in:
parent
973656d987
commit
d5b4011f89
@ -997,7 +997,7 @@ func NewTestCluster(t testing.T, base *CoreConfig, opts *TestClusterOptions) *Te
|
||||
Certificates: []tls.Certificate{tlsCert},
|
||||
RootCAs: testCluster.RootCAs,
|
||||
ClientCAs: testCluster.RootCAs,
|
||||
ClientAuth: tls.VerifyClientCertIfGiven,
|
||||
ClientAuth: tls.RequestClientCert,
|
||||
NextProtos: []string{"h2", "http/1.1"},
|
||||
GetCertificate: certGetter.GetCertificate,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user