Urllib3 SSL secure connection with server. Works with all OSs
This commit is contained in:
@@ -87,7 +87,7 @@ class DownloadThread(BaseDownloadThread):
|
|||||||
raw_data = bytes(0)
|
raw_data = bytes(0)
|
||||||
sub_data = bytes(0)
|
sub_data = bytes(0)
|
||||||
try:
|
try:
|
||||||
self._db = urllib3.PoolManager().request(
|
self._db = urllib3.PoolManager(ca_certs = sys._MEIPASS + '/cacert.pem').request(
|
||||||
'GET',
|
'GET',
|
||||||
Database.LINK_LOC,
|
Database.LINK_LOC,
|
||||||
preload_content=False,
|
preload_content=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user