summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tls.py')
-rw-r--r--test/test_tls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index 09921773..ffbcee40 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -49,6 +49,7 @@ def context_cert_req(cert='root'):
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_REQUIRED
+ context.verify_flags &= ~ssl.VERIFY_X509_STRICT
context.load_verify_locations(f'{option.temp_dir}/{cert}.crt')
return context