mirror of https://github.com/status-im/go-waku.git
fix: set tls min version to 1.2
This commit is contained in:
parent
8b64934e2c
commit
8c58037770
|
@ -404,6 +404,7 @@ func WithSecureWebsockets(address string, port int, certPath string, keyPath str
|
|||
}
|
||||
params.tlsConfig = &tls.Config{
|
||||
Certificates: []tls.Certificate{certificate},
|
||||
MinVersion: tls.VersionTLS12,
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue