RHEL 8, for certificate-based authentication, must enforce authorized access to the corresponding private key.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-230230r627750_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Create a new private and public key pair that utilizes a passcode with the following command:
$ sudo ssh-keygen -n [passphrase]