Skip to content
Snippets Groups Projects
Commit fd19683f authored by ale's avatar ale
Browse files

Try to fix python 3.10 ssl context reqs

parent 7ff78a7d
No related branches found
No related tags found
No related merge requests found
Pipeline #54709 passed
......@@ -103,6 +103,7 @@ def _build_opener(ipaddr, follow_redirects=False, *extra_handlers):
# certificates used by the testing environment.
ssl_context = ssl.create_default_context(
purpose=ssl.Purpose.SERVER_AUTH)
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE
debuglevel = 1 if os.getenv('HTTP_TRACE') else 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment