Rules with CIS Reference in Guide to the Secure Configuration of AlmaLinux 8


Mapping Rule Title Description Rationale
1.2.2 Ensure AlmaLinux GPG Key Installed To ensure the system can cryptographically verify base software packages come from AlmaLinux, the AlmaLinux GPG key must properly be installed. To install the AlmaLinux GPG key, run:
$ sudo rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
If the system is not connected to the Internet, then install the AlmaLinux GPG key from trusted media such as the AlmaLinux installation CD-ROM or DVD. Assuming the disc is mounted in /media/cdrom, use the following command as the root user to import it into the keyring:
$ sudo rpm --import /media/cdrom/RPM-GPG-KEY
Changes to software components can have significant effects on the overall security of the operating system. This requirement ensures the software has not been tampered with and that it has been provided by a trusted vendor. The AlmaLinux GPG key is necessary to cryptographically verify packages are from AlmaLinux.