Skip to content

Commit

Permalink
Bump minimum supported TLS version to 1.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Urson committed Dec 3, 2024
1 parent 2f5c5bc commit 5ecc0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turncat.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (t *Turncat) newConnection(clientConn net.Conn) (*connection, error) {
// cert, err := tls.LoadX509KeyPair(certFile.Name(), keyFile.Name())
// assert.NoError(t, err, "cannot create certificate for TLS client socket")
c, err := tls.Dial("tcp", t.serverAddr.String(), &tls.Config{
MinVersion: tls.VersionTLS10,
MinVersion: tls.VersionTLS12,
ServerName: t.serverName,
InsecureSkipVerify: t.insecure,
})
Expand Down

0 comments on commit 5ecc0e8

Please sign in to comment.