Describe the bug
When using '--protocol tds' for checking certs against MSSQL the python script included produces error:
AttributeError: 'module' object has no attribute 'MemoryBIO'
This also happens if you specify the python3 binary with "--python-bin PATH"
Currently I have created a workaround by replacing the entire python script under get_tds_certificate() with a openssl command:
exec_with_timeout "${OPENSSL} s_client -connect ${HOST}:${PORT} 2>/dev/null </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ${FILE}"
This seems to work fine with openssl 3.0.13, but I'm not fluent enough in python to tell if script does more than just fetch the cert...
Describe the bug
When using '--protocol tds' for checking certs against MSSQL the python script included produces error:
AttributeError: 'module' object has no attribute 'MemoryBIO'
This also happens if you specify the python3 binary with "--python-bin PATH"
Currently I have created a workaround by replacing the entire python script under get_tds_certificate() with a openssl command:
This seems to work fine with openssl 3.0.13, but I'm not fluent enough in python to tell if script does more than just fetch the cert...