cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Estreamer to Microsoft Sentinel

AshbyJohnDNV
Level 1
Level 1

Tring to get an on-prem virtual FMC server and Azure based Ubuntu box to operate as estreamer in CEF. Cannot get past the following error TypeError: SSLContext.wrap_socket() got an unexpected keyword argument 'keyfile' - full output below.

Ubuntu 24.04 LTS
Kernel: Linux 6.8.0-1013-azure
Architecture: x86-64
Hardware Vendor: Microsoft Corporation
Hardware Model: Virtual Machine
Firmware Version: Hyper-V UEFI Release v4.1
Firmware Date: Mon 2024-05-13
Firmware Age: 3month 4w

fp-05-firepower-cli# python3 --version
Python 3.12.3

2024-09-09T09:36:57.674824 Diagnostics INFO Checking that configFilepath (estreamer.conf) exists
2024-09-09 09:36:57,683 Diagnostics INFO Check certificate
2024-09-09 09:36:57,684 Diagnostics INFO Creating connection
2024-09-09 09:36:57,684 Connection INFO Connecting to 172.xx.yy.abc:8302
2024-09-09 09:36:57,684 Connection INFO Using TLS v1.0
Traceback (most recent call last):
File "/home/azureuser/fp-05-firepower-cli/./estreamer/diagnostics.py", line 169, in main
diagnostics.execute()
File "/home/azureuser/fp-05-firepower-cli/./estreamer/diagnostics.py", line 83, in execute
connection.connect()
File "/home/azureuser/fp-05-firepower-cli/estreamer/connection.py", line 73, in connect
self.socket = ssl.wrap_socket(
^^^^^^^^^^^^^^^^
TypeError: SSLContext.wrap_socket() got an unexpected keyword argument 'keyfile'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/azureuser/fp-05-firepower-cli/./estreamer/diagnostics.py", line 180, in <module>
Diagnostics.main()
File "/home/azureuser/fp-05-firepower-cli/./estreamer/diagnostics.py", line 175, in main
logger.exception(ex)
File "/home/azureuser/fp-05-firepower-cli/estreamer/crossprocesslogging/baseClient.py", line 106, in exception
data = self.__serialise( data, True )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/azureuser/fp-05-firepower-cli/estreamer/crossprocesslogging/baseClient.py", line 35, in __serialise
message = data.__class__.__name__ + ': ' + data.message
^^^^^^^^^^^^
AttributeError: 'TypeError' object has no attribute 'message'

Who Me Too'd this topic