Skip to content

Commit

Permalink
fix server tls config (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckymrwang authored Aug 9, 2021
1 parent f19e663 commit 16eb5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/yurttunnel/pki/pki.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func GenTLSConfigUseCertMgrAndCertPool(
// Can't use TLSv1.0 because of POODLE and BEAST using CBC cipher
// Can't use TLSv1.1 because of RC4 cipher usage
MinVersion: tls.VersionTLS12,
RootCAs: root,
ClientAuth: tls.RequireAnyClientCert,
ClientCAs: root,
ClientAuth: tls.VerifyClientCertIfGiven,
}

tlsConfig.GetClientCertificate =
Expand Down

0 comments on commit 16eb5e9

Please sign in to comment.