1.12 OL08-00-010100

Information

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

GROUP ID: V-248532RULE ID: SV-248532r958450

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 uses a passcode with the following command:

$ sudo ssh-keygen -n [passphrase]

See Also

https://workbench.cisecurity.org/benchmarks/23791