Commit d7240ff9 authored by fibonacci1729's avatar fibonacci1729

fix(tiller): update tls client auth policy

RequireAndVerifyClientCert => VerifyClientCertIfGiven

Closes #2310
parent 7ce0e27c
......@@ -221,7 +221,7 @@ func tlsOptions() tlsutil.Options {
opts := tlsutil.Options{CertFile: certFile, KeyFile: keyFile}
if tlsVerify {
opts.CaCertFile = caCertFile
opts.ClientAuth = tls.RequireAndVerifyClientCert
opts.ClientAuth = tls.VerifyClientCertIfGiven
}
return opts
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment