Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Min version for the client needs to be specified
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Nov 2, 2022
1 parent 0eef884 commit 31fe780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthchecks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 31fe780

Please sign in to comment.