Default to unencrypted connection because the required old ssl protocols aren't supported anymore

This commit is contained in:
clerie 2022-01-06 23:52:24 +01:00
parent f62579ce90
commit 3617494917
2 changed files with 5 additions and 1 deletions

View File

@ -80,6 +80,10 @@ class SSLConnection(Connection):
"""
Establishes a secure connection to the OM Application XML Interface
Please not that this class might be useless on your system since new
versions of OpenSSL don't ship with TLVv1.2 or lower anymore which are
the protocols supported by OMM.
:param host: Hostname or IP address of OMM
:param port: Port of the OM Application XML ssl TCP port

View File

@ -27,7 +27,7 @@ class Session:
self.port = port
self.connection_class = connection_class
if self.connection_class is None:
self.connection_class = connection.SSLConnection
self.connection_class = connection.Connection
self._connection = None