diff options
author | Tibor Frank <tifrank@cisco.com> | 2021-03-05 08:43:45 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2021-03-05 08:43:45 +0100 |
commit | 769f6c8877eb5f4af46a782599acc3d16cf7f35b (patch) | |
tree | 8338836deff04de4cc863965daa3b4290661a891 /resources/tools/presentation/input_data_files.py | |
parent | 674a67c6dfdc4edd8505fe1793bcd6dbecae5580 (diff) |
PAL: download - ignore verifying the SSL certificate
- only for https://logs.nginx.service.consul/vex-yul-rot-jenkins-1
Change-Id: Ibdcc59a44d5aae331aeef22fad54c4e90b2eec6b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/input_data_files.py')
-rw-r--r-- | resources/tools/presentation/input_data_files.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/presentation/input_data_files.py b/resources/tools/presentation/input_data_files.py index 47249b1323..237002f08b 100644 --- a/resources/tools/presentation/input_data_files.py +++ b/resources/tools/presentation/input_data_files.py @@ -90,7 +90,7 @@ def _download_file(url, file_name, arch=False): try: logging.info(f" Connecting to {url} ...") session = requests_retry_session() - response = session.get(url, stream=True) + response = session.get(url, stream=True, verify=False) code = response.status_code logging.info(f" {code}: {responses[code]}") @@ -100,7 +100,7 @@ def _download_file(url, file_name, arch=False): url = url.replace(u"_info", u"") logging.info(f" Connecting to {url} ...") session = requests_retry_session() - response = session.get(url, stream=True) + response = session.get(url, stream=True, verify=False) code = response.status_code logging.info(f" {code}: {responses[code]}") if code != codes[u"OK"]: @@ -119,7 +119,7 @@ def _download_file(url, file_name, arch=False): session.close() logging.info(f" Downloading the file {url} to {file_name} ...") session = requests_retry_session() - response = session.get(url, stream=True) + response = session.get(url, stream=True, verify=False) if response.status_code == codes[u"OK"]: with open(file_name, u"wb") as file_handle: file_handle.write(response.raw.read()) |