Skip to content
Snippets Groups Projects
Commit 294a569e authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

disable tls verif

parent 8fa42504
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ if not url or not api_key:
print('SkyReach url is %s and API key is %s[...].' % (url, api_key[:8]))
# Test SkyReach responses
req = requests.get(url)
req = requests.get(url, verify=False)
if not req.ok:
print('Request to %s failed (%s):' % (url, req.status_code))
print(req.text)
......@@ -47,7 +47,7 @@ else:
print('Request to %s: OK.' % url)
apt_url = '%s/packaging/apt/%s/Packages' % (url, api_key)
req = requests.get(apt_url)
req = requests.get(apt_url, verify=False)
apt_url = apt_url.replace(api_key, api_key[:8] + '[...]')
if not req.ok:
print('Request to %s failed (%s):' % (apt_url, req.status_code))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment