From ae613ab277baff39d9ebc46445ee7734575057a4 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Thu, 17 Aug 2017 00:49:53 +0200 Subject: [PATCH] makebuildserver: verify https all requests to avoid urllib3 warnings According to http://docs.python-requests.org/en/master/user/advanced/#ca-certificates python-requests >= 2.4.0 will use the certifi provided certificates. We already recommend installing python3-certifi in the docs. On debian requests is patched to use the system trust store instead. --- makebuildserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makebuildserver b/makebuildserver index df553fa2..797a8097 100755 --- a/makebuildserver +++ b/makebuildserver @@ -391,7 +391,7 @@ def update_cache(cachedir, cachefiles): if download: r = requests.get(srcurl, headers=resume_header, - stream=True, verify=False, allow_redirects=True) + stream=True, allow_redirects=True) content_length = int(r.headers.get('content-length')) with open(local_filename, 'ab') as f: for chunk in progress.bar(r.iter_content(chunk_size=65536), -- 2.30.2