FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
skolape_FTNT
Staff
Staff
Article Id 324015
Description This article describes how to solve the following Exchange/Microsoft WinRM connector error: unsupported hash type md4
OpenSSL 3.0.7, which is shipped with FortiSOAR version 7.5.0 and later, has dropped support for MD4. The Hashlib Python library internally uses the MD4 hashing algorithm, so Hashlib is no longer able to use it.
Scope FortiSOAR.
Solution

Re-enable support for the MD4 hash type md4 to Hashlib in the openssl.conf file located at /etc/pki/tls/.
Step 1: Open the openssl.conf file using vi: vi /etc/pki/tls/openssl.cnf.
Step 2: Search `provider_sect` section.
Step 3: Enable default_sect and legacy_sect and set active=1 in both sections.

After making the change, provider_sect looks as follows:

 

[provider_sect]
default = default_sect
legacy = legacy_sect
[default_sect]
activate = 1
[legacy_sect]
activate = 1

Related documents:
https://github.com/ecederstrand/exchangelib/issues/518#issuecomment-1170445525
https://github.com/diyan/pywinrm/pull/365/files