Change MinTLSVersion to TLSv1.2 (#1116)

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
This commit is contained in:
Weizhen Wang 2024-01-16 12:05:09 +08:00 committed by GitHub
parent b1256130a5
commit 1fd589dbf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -77,9 +77,8 @@ func (s *Security) ToTLSConfig() (tlsConfig *tls.Config, err error) {
return
}
tlsConfig = &tls.Config{
RootCAs: certPool,
ClientCAs: certPool,
MinVersion: tls.VersionTLS10,
RootCAs: certPool,
ClientCAs: certPool,
}
if len(s.ClusterSSLCert) != 0 && len(s.ClusterSSLKey) != 0 {