Default to unencrypted connection because the required old ssl protocols aren't supported anymore
This commit is contained in:
parent
f62579ce90
commit
3617494917
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user