From 672027f4aac2e9fcbcdd9a7c1fde9a44bb2ac5fc Mon Sep 17 00:00:00 2001 From: jonaustin09 Date: Thu, 22 Jun 2023 20:03:50 +0400 Subject: [PATCH] fix: TLS configuration removed --- integration/s3conf.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/integration/s3conf.go b/integration/s3conf.go index 4bb02a8c..2533d49e 100644 --- a/integration/s3conf.go +++ b/integration/s3conf.go @@ -2,7 +2,6 @@ package integration import ( "context" - "crypto/tls" "log" "net/http" "os" @@ -92,9 +91,7 @@ func (c *S3Conf) ResolveEndpoint(service, region string, options ...interface{}) func (c *S3Conf) Config() aws.Config { creds := c.getCreds() - tr := &http.Transport{ - TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, - } + tr := &http.Transport{} client := &http.Client{Transport: tr} opts := []func(*config.LoadOptions) error{