Centralized cryptographic policies simplify applying secure ciphers across an operating system and the applications that run on that operating system. Use of weak or untested encryption algorithms undermines the purposes of using encryption to protect data.
If any algorithms include "SHA1" or a hash value less than "224", this is a finding.
If the "min_rsa_size" is not set to a value of at least "2048", this is a finding.
If these commands do not return any output, this is a finding.
Fix
Configure RHEL 10 to use a FIPS 140-3-compliant systemwide cryptographic policy.
Set the systemwide crypto-policy to FIPS with the following command:
$ sudo update-crypto-policies --set FIPS Setting system policy to FIPS
Note: Systemwide crypto-policies are applied on application startup. It is recommended to restart the system for the change of policies to fully take place.