Skip to content

Commit de9c5b5

Browse files
committed
Fix MinTLS-Version 1.2
1 parent bebed9e commit de9c5b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/tunnel/tunnel.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ func tlsConfig(config *ClientConfig) (*tls.Config, error) {
146146
return &tls.Config{
147147
ServerName: host,
148148
Certificates: []tls.Certificate{cert},
149+
MinVersion: tls.VersionTLS12,
149150
InsecureSkipVerify: roots == nil,
150151
RootCAs: roots,
151152
}, nil

0 commit comments

Comments
 (0)