Set minimum TLS version to 1.2

This commit is contained in:
Paper 2021-01-03 11:17:50 +01:00
parent 207e7c4030
commit 2cc9e0d2c1
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,
}