OL 9 must have the rng-tools package installed.

STIG ID: OL09-00-000370  |  SRG: SRG-OS-000480-GPOS-00227 |  Severity: medium |  CCI: CCI-000366 |  Vulnerability Id: V-271512

Vulnerability Discussion

rng-tools provides hardware random number generator tools, such as those used in the formation of x509/PKI certificates.

Check

Verify that OL 9 has the rng-tools package installed with the following command:

$ dnf list --installed rng-tools
Installed Packages
rng-tools.x86_64 6.16-1.el9 @ol9_baseos_latest

If the rng-tools package is not installed, this is a finding.

Fix

Install the rng-tools package with the following command:

$ sudo dnf install -y rng-tools