tedious
tedious copied to clipboard
Error ERR_OSSL_EVP_UNSUPPORTED when running with enabled FIPS
Hi all!
I built node with FIPS compliance and got the above Err. I found in ntlm-payload.js that tedious using hash algorithm md4 and md5 which is not supported FIPS.
I'm using:
- Node : 16.11.0 (built with FIPS enable)
- mssql: 6.3.2
- Openssl 3.0
Any help?
Those algorithms are only used when you use NTLM authentication - and there is no way around them, because they are required for NTLM autehntication. Are you using NTLM authentication?
Yes. I'm using AD login in trusted domain.
Yeah, that is not compatible with FIPS mode. In theory, there is a more modern authentication method for integrated authentication via the kerberos that uses more modern algorithms that are FIPS compliant, but tedious does not support this currently. 😞
I encountered this recently on the newer versions of node. To mitigate we found we had to enable the legacy ssl support for the newer node version: NODE_OPTIONS=--openssl-legacy-provider or start node with the --openssl-legacy-provider argument.