forked from shaba/openuds
Fix for client with python 3.6
This commit is contained in:
parent
abafa7bfac
commit
8ef97a7773
@ -185,8 +185,8 @@ class RestApi:
|
||||
) -> typing.Any:
|
||||
print('Open')
|
||||
ctx = ssl.create_default_context()
|
||||
ctx.verify_mode = ssl.CERT_NONE
|
||||
ctx.check_hostname = False
|
||||
ctx.verify_mode = ssl.CERT_NONE
|
||||
ctx.load_verify_locations(tools.getCaCertsFile())
|
||||
hostname = urllib.parse.urlparse(url)[1]
|
||||
serial = ''
|
||||
|
Loading…
Reference in New Issue
Block a user