STIGUI
V-230230CAT II — Medium severitySV-230230r1069287_rule

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

Rule version RHEL-08-010100 · STIG v2 · 2026-05-20

Discussion

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.

Check

Verify the SSH private key files have a passcode.

For each private key stored on the system, use the following command:

$ sudo ssh-keygen -y -f /path/to/file Enter passphrase:

If the contents of the key are displayed, this is a finding.

Fix

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

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

Identifiers

Group ID
V-230230
Group title
SRG-OS-000067-GPOS-00035
Rule ID
SV-230230r1069287_rule
Check ID
C-32899r1069182_chk
Fix ID
F-32874r1069183_fix