mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-11-27 12:48:13 +01:00
Merge branch 'tls1.2' into 'master'
Set minimum TLS version to 1.2 See merge request tslocum/twins!1
This commit is contained in:
commit
bd43e7ebfd
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