Some SSL options are deprecated, prints warnings to user
mehmettokgoz opened this issue · 0 comments
mehmettokgoz commented
See the following warnings while connecting to Hazelcast Viridian via Python client. The reactor.py
file should be refactored to prevent these deprecated messages.
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hazelcast/reactor.py:543: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hazelcast/reactor.py:554: DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are deprecated
ssl_context.options |= ssl.OP_NO_TLSv1