diff --git a/config/http_config.go b/config/http_config.go index af9e463b..07de306b 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -17,7 +17,7 @@ package config import ( "bytes" - "crypto/md5" + "crypto/sha256" "crypto/tls" "crypto/x509" "fmt" @@ -533,7 +533,7 @@ func (t *tlsRoundTripper) getCAWithHash() ([]byte, []byte, error) { if err != nil { return nil, nil, err } - h := md5.Sum(b) + h := sha256.Sum256(b) return b, h[:], nil }