Skip to content

Commit

Permalink
add TLS MinVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
gpop63 committed Feb 27, 2024
1 parent 162a21c commit 66d412c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metricbeat/module/mysql/mysql_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func loadTLSConfig(caCertPath, clientCertPath, clientKeyPath string) (*tls.Confi
tlsConfig := &tls.Config{
Certificates: []tls.Certificate{cert},
RootCAs: caCertPool,
MinVersion: tls.VersionTLS12,
}

return tlsConfig, nil
Expand Down

0 comments on commit 66d412c

Please sign in to comment.