SV-269412r1155277_rule
V-269412
SRG-OS-000384-GPOS-00167
ALMA-09-039070
CAT II
10
Configure AlmaLinux OS 9, for PKI-based authentication, to validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor.
Obtain a valid copy of the DOD root CA file from the PKI CA certificate bundle from cyber.mil and copy the DOD_PKE_CA_chain.pem into the /etc/sssd/pki/sssd_auth_ca_db.pem file (or pam_cert_db_path).
Verify AlmaLinux OS 9 for PKI-based authentication has valid certificates by constructing a certification path (which includes status information) to an accepted trust anchor.
If "pam_cert_db_path" is set in "/etc/sssd/sssd.conf" or a "*.conf" file within the "/etc/sssd/conf.d/" directory, substitute that path for the default /etc/sssd/pki/sssd_auth_ca_db.pem used below.
Check that the system has a valid DOD root CA installed with the following command:
$ openssl x509 -text -in /etc/sssd/pki/sssd_auth_ca_db.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1 (0x1)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = US, O = U.S. Government, OU = DOD, OU = PKI, CN = DOD Root CA 3
Validity
Not Before: Mar 20 18:46:41 2012 GMT
Not After: Dec 30 18:46:41 2029 GMT
Subject: C = US, O = U.S. Government, OU = DOD, OU = PKI, CN = DOD Root CA 3
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
If the root CA file is not a DOD-issued certificate with a valid date and installed in "/etc/sssd/pki/sssd_auth_ca_db.pem" (or pam_cert_db_path location) this is a finding.
V-269412
False
ALMA-09-039070
Verify AlmaLinux OS 9 for PKI-based authentication has valid certificates by constructing a certification path (which includes status information) to an accepted trust anchor.
If "pam_cert_db_path" is set in "/etc/sssd/sssd.conf" or a "*.conf" file within the "/etc/sssd/conf.d/" directory, substitute that path for the default /etc/sssd/pki/sssd_auth_ca_db.pem used below.
Check that the system has a valid DOD root CA installed with the following command:
$ openssl x509 -text -in /etc/sssd/pki/sssd_auth_ca_db.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1 (0x1)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = US, O = U.S. Government, OU = DOD, OU = PKI, CN = DOD Root CA 3
Validity
Not Before: Mar 20 18:46:41 2012 GMT
Not After: Dec 30 18:46:41 2029 GMT
Subject: C = US, O = U.S. Government, OU = DOD, OU = PKI, CN = DOD Root CA 3
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
If the root CA file is not a DOD-issued certificate with a valid date and installed in "/etc/sssd/pki/sssd_auth_ca_db.pem" (or pam_cert_db_path location) this is a finding.
M
5664