Merge pull request #2316 from fibonacci1729/master

fix(tiller): update tls client auth policy
pull/1970/merge
Brian 8 years ago committed by GitHub
commit d7ab16ad03

@ -221,7 +221,7 @@ func tlsOptions() tlsutil.Options {
opts := tlsutil.Options{CertFile: certFile, KeyFile: keyFile} opts := tlsutil.Options{CertFile: certFile, KeyFile: keyFile}
if tlsVerify { if tlsVerify {
opts.CaCertFile = caCertFile opts.CaCertFile = caCertFile
opts.ClientAuth = tls.RequireAndVerifyClientCert opts.ClientAuth = tls.VerifyClientCertIfGiven
} }
return opts return opts
} }

Loading…
Cancel
Save