NXLog Agent digital signature
Security regulations for organizations may require verifying the identity of software sources as well as the integrity of the software obtained from those software sources. To facilitate such regulation compliance, and to guarantee the authenticity and integrity of downloaded installer files, NXLog Agent installer packages are digitally signed.
In some cases, like with RPM packages, a public key is required to verify the digital signature. For this, the Public PGP Key can be downloaded from NXLog’s public contrib repository.
Verify the signature of the DEB package
The verification of the NXLog Agent DEB packages requires the debsig-verify package to be installed.
For simplicity, this section explains how to verify NXLog Agent packages using a shell script from the NXLog contrib repository. See HOWTO: GPG sign and verify deb packages and APT repositories to verify the package without the script. |
-
To install debsig-verify, run the following command:
# apt install debsig-verify
-
Download the contents of the deb-verify directory from the NXLog contrib repository.
-
Run the deb-verify script with the path to the NXLog Agent deb-package as its parameter. For example:
# ./deb-verify ../nxlog-6.2.9212_ubuntu20_amd64.deb
-
The script output should look similar to this:
Verified package from 'Nxlog package' (Nxlog)
Verify the signature of the RPM package
The procedure is the same for SUSE Linux Enterprise Server, Red Hat Enterprise Linux, and CentOS. However, there is a slight difference in the output messages as noted below.
This example uses the generic RPM package. Change the package name accordingly. |
-
Import the downloaded NXLog Agent public key into the RPM with the following command:
# rpm --import nxlog-pubkey.asc
-
Verify the package signature with the imported public key using the following command:
# rpm --checksig nxlog-6.2.9212_generic_rpm_x86_64.rpm.
-
The output should look similar to the following examples.
On SUSE Linux Enterprise Server:
nxlog-6.2.9212_generic_rpm_x86_64.rpm: digests signatures OK
On Red Hat Enterprise Linux and CentOS:
nxlog-6.2.9212_generic_rpm_x86_64.rpm: rsa sha1 (md5) pgp md5 OK
Verify the signature of the Windows installer
To verify the installer package for Windows before installing, follow these steps:
-
Right-click the downloaded installer file, then select Properties.
-
Select the Digital Signatures tab.
NXLog is displayed as a signer for the installer. The algorithm used for the signature and the timestamp is also visible.
-
In the Signature list, select NXLog, then click Details to display additional information about the signature.
In the General tab, the signer information and countersignatures are displayed. Click on View Certificate to display the certificate or select the Advanced tab to display signature details.
Verify the signature of the macOS installer
To verify the installer package for macOS before installing, follow these steps:
-
Double-click the installer package.
-
Click on the padlock icon in the upper-right corner of the installer window to display information about the certificate.
For valid packages a green tick is displayed, indicating the validity of the certificate.
-
Click on the triangle next to Details to display additional information about the certificate.