Skip to content

Commit

Permalink
Fixes eclecticiq#90 urllib.error.URLError: <urlopen error Cannot crea…
Browse files Browse the repository at this point in the history
…te a client socket with a PROTOCOL_TLS_SERVER context
  • Loading branch information
udokmeci-eiq committed Jan 27, 2025
1 parent f1d54f0 commit f5e6d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabby/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def request_with_key_password(
if not isinstance(session.verify, bool):
ca_cert = session.verify
context = ssl.create_default_context(
ssl.Purpose.CLIENT_AUTH, cafile=ca_cert)
ssl.Purpose.SERVER_AUTH, cafile=ca_cert)

cert_file, key_file = session.cert
key_password = session._cabby_key_password
Expand Down

0 comments on commit f5e6d0b

Please sign in to comment.