EDR: How to Pass cb-enterprise Yum Repo GPG Check
search cancel

EDR: How to Pass cb-enterprise Yum Repo GPG Check

book

Article ID: 291366

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

If enable GPG check for cb-enterprise repo, how to pass it?
 
[CarbonBlack]
name=CarbonBlack
baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch/
gpgcheck=1

Environment

  • EDR Server: All versions

Resolution

  • Get the public key using this command:
curl --key /etc/cb/certs/carbonblack-alliance-client.key --cert /etc/cb/certs/carbonblack-alliance-client.crt https://yum.distro.carbonblack.io/enterprise/keys/public.asc -o public.asc
  • Import it: 
rpm --import public.asc
  • Run
yum install/update cb-enterprise