use min tls 1.2 (#4969)

* use min tls 1.2

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer authored and GitHub committed 2022-11-03 16:08:56 +01:00
1 parent 9fc64e5479
commit 0f7dba53fb
11 files changed
+21 -3

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ func Server(opts ...Option) (http.Service, error) {
}
tlsConf = &tls.Config{
MinVersion: tls.VersionTLS12,
InsecureSkipVerify: options.Config.Events.TLSInsecure, //nolint:gosec
RootCAs: rootCAPool,
}