Merge pull request 'allow insecureSkipVerify' (#1) from allow-insecureSkipVerify into main

Reviewed-on: https://gitlab-ce.niaulang.com/niau-lang/mohwhelper/pulls/1
This commit was merged in pull request #1.
This commit is contained in:
2025-05-30 13:01:52 +08:00

View File

@@ -90,6 +90,8 @@ func (f *FeeAuditUtils) httpsPost(funcName string, writeoffRequest WriteoffReque
client := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
// Maxwell 2025-05-30 Current CA cert probably outdated, skip verification based on PO's request
InsecureSkipVerify: true,
RootCAs: caCertPool,
},
},