Commit d7ab16ad authored by Brian's avatar Brian Committed by GitHub

Merge pull request #2316 from fibonacci1729/master

fix(tiller): update tls client auth policy
parents d1b1161f d7240ff9
...@@ -221,7 +221,7 @@ func tlsOptions() tlsutil.Options { ...@@ -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
} }
......
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