Set the minimum TLS version to TLS 1.2 The protocol specification says that the required minimum TLS version is 1.2 and the clients should refuse lower versions.
1 files changed, 1 insertions(+), 0 deletions(-) M client.go
M client.go => client.go +1 -0
@@ 51,6 51,7 @@ func (c Client) connect(rawURL string) (io.ReadWriteCloser, error) { } conf := &tls.Config{ + MinVersion: tls.VersionTLS12, InsecureSkipVerify: c.InsecureSkipVerify, }