fix(tiller): update tls client auth policy

RequireAndVerifyClientCert => VerifyClientCertIfGiven

Closes #2310
pull/2316/head
fibonacci1729 8 years ago
parent 7ce0e27c87
commit d7240ff943

@ -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
}

Loading…
Cancel
Save