In recent versions of Resilient Circuits we moved to using
https://docs.python.org/2/library/ssl.html#ssl.PROTOCOL_TLS which is more secure a protocol compared with PROTOCOL_SSLv23. According to Python documentation, the new protocol is available from 2.7.13 onwards. What version of Python are you using?
Our pre-requisites for the integration server (https://www.ibm.com/docs/en/sqsp/47?topic=prerequisites-integration-server) no longer mention Python 2.7. We will find it hard to catch problems with Python 2.7 since we now primarily use 3.6 and 3.9. It is probably time you consider moving to a supported version of Python.
If you are using a pre-2.7.13 version then consider upgrading to the latest version in the 2.7 code stream or roll back the version of Resilient Circuits to v45.
------------------------------
BEN WILLIAMS
------------------------------
Original Message:
Sent: Fri February 03, 2023 12:12 AM
From: kamal ghanem
Subject: TLS Error While Running Resilient-Circuits
hello
which version ?
if V45 or later you will face this issues
------------------------------
kamal ghanem
Original Message:
Sent: Thu February 02, 2023 01:11 PM
From: mohamed khalil
Subject: TLS Error While Running Resilient-Circuits
Dears,
While I am running resilient-circuits config -c on the integration server I got below error regarding TLS issue as it isn't compatible with python 2.7.
/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:52: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography import x509Traceback (most recent call last): File "/usr/bin/resilient-circuits", line 5, in <module> from resilient_circuits.bin.resilient_circuits_cmd import main File "/usr/lib/python2.7/site-packages/resilient_circuits/__init__.py", line 9, in <module> from .actions_component import ResilientComponent File "/usr/lib/python2.7/site-packages/resilient_circuits/actions_component.py", line 39, in <module> from resilient_circuits.stomp_component import StompClient File "/usr/lib/python2.7/site-packages/resilient_circuits/stomp_component.py", line 34, in <module> class StompClient(BaseComponent): File "/usr/lib/python2.7/site-packages/resilient_circuits/stomp_component.py", line 46, in StompClient ssl_version=ssl.PROTOCOL_TLS if sys.version_info.major == 2 else ssl.PROTOCOL_TLS_CLIENT,AttributeError: 'module' object has no attribute 'PROTOCOL_TLS'
Appreciate support if anyone hit with this problem before and if it is applicable to install python 3 on integration server with apphost.
Thanks,
------------------------------
mohamed khalil
------------------------------