From 8ef97a77739b503d794189e692364d1ed6eab014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Fri, 1 Oct 2021 12:35:20 +0200 Subject: [PATCH] Fix for client with python 3.6 --- client-py3/full/src/uds/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-py3/full/src/uds/rest.py b/client-py3/full/src/uds/rest.py index 85427cdb..62eaf11e 100644 --- a/client-py3/full/src/uds/rest.py +++ b/client-py3/full/src/uds/rest.py @@ -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 = ''