mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-11-27 09:38:14 +01:00
Set minimum TLS version to 1.2
This commit is contained in:
parent
207e7c4030
commit
2cc9e0d2c1
1 changed files with 1 additions and 0 deletions
|
@ -493,6 +493,7 @@ func listen(address string) {
|
|||
tlsConfig := &tls.Config{
|
||||
ClientAuth: tls.RequestClientCert,
|
||||
GetCertificate: getCertificate,
|
||||
MinVersion: tls.VersionTLS12,
|
||||
InsecureSkipVerify: true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue