We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7049c9b commit 7f87e8aCopy full SHA for 7f87e8a
1 file changed
tests/utils/itutils.go
@@ -2,6 +2,7 @@ package utils
2
3
import (
4
"bytes"
5
+ "crypto/tls"
6
"fmt"
7
"io/ioutil"
8
"log"
@@ -117,7 +118,12 @@ func GetGlobalConfig() *DeisTestConfig {
117
118
}
119
120
func doCurl(url string) ([]byte, error) {
- response, err := http.Get(url)
121
+ // disable security check for self-signed certificates
122
+ tr := &http.Transport{
123
+ TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
124
+ }
125
+ client := &http.Client{Transport: tr}
126
+ response, err := client.Get(url)
127
if err != nil {
128
return nil, err
129
0 commit comments