RHEL-08-010100 - RHEL 8, for certificate-based authentication, must enforce authorized access to the corresponding private key.

Information

If an unauthorized user obtains access to a private key without a passcode, that user would have unauthorized access to any system where the associated public key has been installed.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Create a new private and public key pair that utilizes a passcode with the following command:

$ sudo ssh-keygen -p -f /path/to/file

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_8_V2R3_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(2)(b), CAT|II, CCI|CCI-000186, Rule-ID|SV-230230r1069287_rule, STIG-ID|RHEL-08-010100, Vuln-ID|V-230230

Plugin: Unix

Control ID: e187a7dfef40fe0710e834fc93ca5889c7032ae4737d7d67da62b40e4c3852b3