Getting Started Verifying Rpm Debian Packages From The Platform9
This document explains the steps required to verify the authenticity of the RPM or Debian packages included in the PMO installer. All packages that are bundled as part of the PMO installer are signed by Platform9 with every new release of PMO. Some organizations require validation of package authenticity after every upgrade of PMO as part of their security policies. This article describes the process to do this.
Step 1 - Download and import the Platform9 public GPG key
There are two ways to download the Platform9 public GPG for your PMO cloud.
Navigate to https:///private/GPG-Platform9-Systems
In the PMO UI navigate to Infrastructure > Add Hosts page. Search for public GPG key on this page or look at the section titled Package Signing
The key needs to be imported into your linux system's package manager.
For RPM-based distributions such as RedHat and CentOS:
sudorpm--importGPG-Platform9-Systems
For Apt-based distributions such as Debian and Ubuntu:
sudoapt-keyaddGPG-Platform9-Systems
Step 2 - Extract the files from the Platform9 installer
In a terminal window, run the installer specific to your linux platform with the –extract option. This option will extract all packages inside the installer.
For Redhat/CentOS run:
sudobashplatform9-install-redhat.sh--extract
For Debian/Ubuntu run:
Step 3 - Verify the extracted packages
The installer will create a temporary directory with the extracted packages. From the terminal, change into that directory and use your linux system’s package manager to verify the tools.
For RPM packages, the command and resulting output should be similar to this:
PMO .deb packages are signed through debsigs. To verify a package, a policy file and keychain has to be created for the PMO public key. Copy the following and paste it into a file named pf9-install-debsigs-policy.sh that resides in the same directory as the public key you downloaded:
After creating pf9-install-debsigs-policy.sh, run the following commands:
Debsig-verify should now be able to verify the packages: