How can the public key be downloaded when receiving an error message like this for rpm packages on the EDR Server?
warning: /tmp/cb-linux-sensor-installer-6.1.9.10139-1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 6ac57704: NOKEY WARNING: SensorInstallerDirLinux config value not found or empty -- using default value (/usr/share/cb/coreservices/installers/linux)
curl -SL 'https://yum.distro.carbonblack.io/enterprise/keys/cb.asc' --cert /etc/cb/certs/carbonblack-alliance-client.crt --key /etc/cb/certs/carbonblack-alliance-client.key | gpg --import -
curl -SL 'https://yum.distro.carbonblack.io/enterprise/keys/public.asc' --cert /etc/cb/certs/carbonblack-alliance-client.crt --key /etc/cb/certs/carbonblack-alliance-client.key | gpg --import -
If this is for an airgapped server, download from your internet facing server into a local file. That file can be brough over to the airgapped server and import it.
curl -SL 'https://yum.distro.carbonblack.io/enterprise/keys/public.asc' --cert /etc/cb/certs/carbonblack-alliance-client.crt --key /etc/cb/certs/carbonblack-alliance-client.key >> public.asc
curl -SL 'https://yum.distro.carbonblack.io/enterprise/keys/cb.asc' --cert /etc/cb/certs/carbonblack-alliance-client.crt --key /etc/cb/certs/carbonblack-alliance-client.key >> cb.asc
gpg --import public.asc
gpg --import cb.asc
gpgkey=https://yum.distro.carbonblack.io/enterprise/keys/public.asc
gpgkey=https://yum.distro.carbonblack.io/enterprise/keys/cb.asc