Skip to content

Commit

Permalink
Fixes #1687: Modified system_tests_http.py to set the context in get_…
Browse files Browse the repository at this point in the history
…ssl() to PROTOCOL_TLS_CLIENT (#1693)
  • Loading branch information
ganeshmurthy authored Dec 10, 2024
1 parent 08f966c commit 82179cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system_tests_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get(cls, url, use_ca=True):

@classmethod
def get_cert(cls, url):
context = ssl.create_default_context()
context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
context.load_cert_chain(CLIENT_CERTIFICATE,
CLIENT_PRIVATE_KEY,
CLIENT_PRIVATE_KEY_PASSWORD)
Expand Down

0 comments on commit 82179cc

Please sign in to comment.