Skip to content

Commit

Permalink
feat: require TLS v1.3 at minimum (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom committed Aug 24, 2021
1 parent 0a9fd73 commit cafa966
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/proxy/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ func (c *Client) refreshCfg(instance string) (addr string, cfg *tls.Config, vers
// that will verify that the certificate is OK.
InsecureSkipVerify: true,
VerifyPeerCertificate: genVerifyPeerCertificateFunc(name, certs),
MinVersion: tls.VersionTLS13,
}

return fmt.Sprintf("%s:%d", addr, c.Port), cfg, version, nil
Expand Down

0 comments on commit cafa966

Please sign in to comment.