GPG Check Failed When Downloading Packages from the CarbonBlack Repository
book
Article ID: 385589
calendar_today
Updated On:
Feedback
Subscribe
Products
Carbon Black EDR (formerly Cb Response)
Show More
Show Less
Issue/Introduction
When gpg check is enabled for the CarbonBlack.repo, the files fail to install with this message:
Error: GPG Check Failed
Environment
Carbon Black EDR Server: 7.8.1 and Higher
Cause
GPG keys are not imported or the location is incorrect in the repo file.
Resolution
Getting the GPG Keys:
Download the installation zip package. Authenticate to Packages Repository
Extract the two key files: cb.asc and public.asc
Option 1: Point the Repo to the Key Location
Open /etc/yum.repos.d/CarbonBlack.repo for editing.
Add these two lines to the repo, replacing directory with the location of the files. Note : file requires two forward slashes before the path, see the example in additional notes:
gpgkey=file:///<path>/cb.asc
file:///<path>/public.asc
Save the repo file.
Option 2: Import the Keys into GPG
Import the keys using this command:
gpg --import cb.asc
gpg --import public.asc
Validate the keys are listed:
gpg --list-keys
Feedback
thumb_up
Yes
thumb_down
No