Installer Package Verification

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://<my-company-pmo-FQDN>/private/GPG-Platform9-Systems

For example, if your PMO account url (FQDN) is mycompany.platform9.net your URL path to download the GPG key would be https://mycompany.platform9.net/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:

Bash
Copy

For Apt-based distributions such as Debian and Ubuntu:

Bash
Copy

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:

Bash
Copy

For Debian/Ubuntu run:

Bash
Copy

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:

Bash
Copy

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:

Bash
Copy

After creating pf9-install-debsigs-policy.sh, run the following commands:

Bash
Copy

Debsig-verify should now be able to verify the packages:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Madhura Maskasky