From 98d7a24656cdc6f5d24879920338ce36da731a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 3 Nov 2021 14:39:58 +0100 Subject: [PATCH] Fixed check certificate on 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 f544cab2..bcf39858 100644 --- a/client-py3/full/src/uds/rest.py +++ b/client-py3/full/src/uds/rest.py @@ -231,8 +231,8 @@ class RestApi: # Ask about invalid certificate if certErrorCallback: if certErrorCallback(hostname, serial): - ctx.verify_mode = ssl.CERT_NONE ctx.check_hostname = False + ctx.verify_mode = ssl.CERT_NONE response = urlopen(url) else: raise