Skip to content

Commit

Permalink
Use TLSv1.2 as the minimum version
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed May 2, 2022
1 parent 8a9d391 commit a773097
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ func getDialer(creds *Credentials) (dialer *kafkago.Dialer) {
dialer = &kafkago.Dialer{
Timeout: 10 * time.Second,
DualStack: true,
TLS: &tls.Config{},
TLS: &tls.Config{
MinVersion: tls.VersionTLS12,
},
}

if creds.Algorithm == Plain {
Expand Down

0 comments on commit a773097

Please sign in to comment.