From 3f59eb2614b2e9a147996df3cd768dc5781a290c Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Wed, 30 Jun 2021 14:43:24 +0200
Subject: [PATCH] [bootstrap.py] use HTTPSConnection

---
 bob/devtools/bootstrap.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py
index 01794d6e..22bcd66b 100644
--- a/bob/devtools/bootstrap.py
+++ b/bob/devtools/bootstrap.py
@@ -232,10 +232,10 @@ def ensure_miniconda_sh():
     # re-downloads installer
     import http.client
 
-    server = ("https://bobconda.lab.idiap.ch", 8443)  # http
+    server = ("bobconda.lab.idiap.ch", 8443)  # http
 
     logger.info("Connecting to http://%s:%d...", *server)
-    conn = http.client.HTTPConnection(server[0], port=server[1])
+    conn = http.client.HTTPSConnection(server[0], port=server[1])
     conn.request("GET", path)
     r1 = conn.getresponse()
 
-- 
GitLab