Skip to content

Commit

Permalink
Fix MinTLS-Version 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hons82 committed Jul 19, 2022
1 parent bebed9e commit de9c5b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/tunnel/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func tlsConfig(config *ClientConfig) (*tls.Config, error) {
return &tls.Config{
ServerName: host,
Certificates: []tls.Certificate{cert},
MinVersion: tls.VersionTLS12,
InsecureSkipVerify: roots == nil,
RootCAs: roots,
}, nil
Expand Down

0 comments on commit de9c5b5

Please sign in to comment.