Merge branch 'tls1.2' into 'master'

Set minimum TLS version to 1.2

See merge request tslocum/twins!1
This commit is contained in:
Trevor Slocum 2021-01-05 22:36:59 +00:00
commit bd43e7ebfd
1 changed files with 1 additions and 0 deletions

View File

@ -493,6 +493,7 @@ func listen(address string) {
tlsConfig := &tls.Config{
ClientAuth: tls.RequestClientCert,
GetCertificate: getCertificate,
MinVersion: tls.VersionTLS12,
InsecureSkipVerify: true,
}