mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-11-27 13:58:15 +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{
|
tlsConfig := &tls.Config{
|
||||||
ClientAuth: tls.RequestClientCert,
|
ClientAuth: tls.RequestClientCert,
|
||||||
GetCertificate: getCertificate,
|
GetCertificate: getCertificate,
|
||||||
|
MinVersion: tls.VersionTLS12,
|
||||||
InsecureSkipVerify: true,
|
InsecureSkipVerify: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue