|Finding ID||Version||Rule ID||IA Controls||Severity|
|Untrusted Certificate Authorities (CA) can issue certificates, but they may be issued by organizations or individuals that seek to compromise DoD systems or by organizations with insufficient security controls. If the CA used for verifying the certificate is not a DoD-approved CA, trust of this CA has not been established. The DoD will only accept PKI-certificates obtained from a DoD-approved internal or external certificate authority. Reliance on CAs for the establishment of secure sessions includes, for example, the use of SSL/TLS certificates.|
|Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide||2022-12-06|
|Check Text ( C-41574r880900_chk )|
| Verify the directory containing the root certificates for the Ubuntu operating system contains certificate files for DoD PKI-established certificate authorities by iterating over all files in the "/etc/ssl/certs" directory and checking if, at least one, has the subject matching "DOD ROOT CA". |
If none is found, this is a finding.
|Fix Text (F-41533r880901_fix)|
| Configure the Ubuntu operating system to use of DoD PKI-established certificate authorities for verification of the establishment of protected sessions. |
Edit the "/etc/ca-certificates.conf" file, adding the character "!" to the beginning of all uncommented lines that do not start with the "!" character with the following command:
$ sudo sed -i -E 's/^([^!#]+)/!\1/' /etc/ca-certificates.conf
Add at least one DoD certificate authority to the "/usr/local/share/ca-certificates" directory in the PEM format.
Update the "/etc/ssl/certs" directory with the following command:
$ sudo update-ca-certificates