diff --git a/chipper/pkg/wirepod/localization/download.go b/chipper/pkg/wirepod/localization/download.go index 5e30b30e..58210b7c 100644 --- a/chipper/pkg/wirepod/localization/download.go +++ b/chipper/pkg/wirepod/localization/download.go @@ -8,6 +8,7 @@ package localization import ( "archive/zip" + "crypto/tls" "fmt" "io" "log" @@ -112,6 +113,7 @@ func PrintDownloadPercent(done chan int64, path string, total int64) { func DownloadFile(url string, dest string) { if strings.Contains(DownloadStatus, "success") || strings.Contains(DownloadStatus, "error") || strings.Contains(DownloadStatus, "not downloading") { + http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true} logger.Println("Downloading " + url + " to " + dest) out, _ := os.Create(dest) defer out.Close()