AWS server facing issue in patching with Red Hat Satellite due to RHUI repository

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.x

Issue

  • Below error occur during registration:

    Errors during downloading metadata for repository 'rhui-client-config-server-8-ha':
     - Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://satellite.com/pulp/mirror/protected/rhui-client-config/rhel/server/8/x86_64/ha [SSL certificate problem: unable to get local issuer certificate]
    Error: Failed to download metadata for repo 'rhui-client-config-server-8-ha': Cannot prepare internal mirrorlist: Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://satellite.com/pulp/mirror/protected/rhui-client-config/rhel/server/8/x86_64/ha [SSL certificate problem: unable to get local issuer certificate]
    

Resolution

  1. Move/Disable all the rhui files under /etc/yum.repos.d to other location.

  2. Value of manage_repos in /etc/rhsm/rhsm.conf file should be 1

Diagnostic Steps

  • Client host should be register to satellite

    # grep hostname /etc/rhsm/rhsm.conf
    
  • Check if value of "manage_repos" is 0

    # grep manage_repos /etc/rhsm/rhsm.conf
    

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments