From 31fe780be7d5ce4e6c79d21d2db3bc8f15c6209b Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Wed, 2 Nov 2022 13:01:07 +0100 Subject: [PATCH] Min version for the client needs to be specified --- healthchecks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/healthchecks.go b/healthchecks.go index 022e609..487db11 100644 --- a/healthchecks.go +++ b/healthchecks.go @@ -50,7 +50,7 @@ func (h *HealthCheck) RunHealthChecks() { } func (h *HealthCheck) httpsGetCheck(url string, timeout time.Duration) healthcheck.Check { - cfg := &tls.Config{MinVersion: tls.VersionTLS13} + cfg := &tls.Config{MinVersion: tls.VersionTLS12} cfg.RootCAs = h.tlsConfig.RootCAs tr := &http.Transport{TLSClientConfig: cfg} client := http.Client{