Yum update targeting Satellite custom repository with On_Demand download policy fails with "HTTPS Error 404 - Not Found" on Hosts

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.x

Issue

  • Custom repository is synced with on_demand download policy but while installing or updating packages on the hosts, gives below error:

    https://<satellite-hostname>/pulp/repos/<organization>/Library/custom/<custom-product-name>/<custom-repository-name>/Packages/x/<package-name>.noarch.rpm: [Errno 14] HTTPS Error 404 - Not Found
    

Resolution

  • Set Ignore Global HTTP Proxy to No:

    From the Red Hat Satellite Web UI --> "Content" --> "Products" --> Click on the custom product name --> "Repositories" --> Click on the custom repository name --> "Ignore Global HTTP Proxy" --> "No"
    
  • Set Verify SSL to No:

    From the Red Hat Satellite Web UI --> "Content" --> "Products" --> Click on the custom product name --> "Repositories" --> Click on the custom repository name --> "Verify SSL" --> "No"
    

For more KB articles/solutions related to Red Hat Satellite 6.x Repository Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Repository Issues.

Diagnostic Steps

  • Check the connectivity using below command:

    # curl -sv https://url/package-name -O
    
  • Look for the below error:

    This certificate seems not to match for Host: <custom-url>
    * NSS error -12276 (SSL_ERROR_BAD_CERT_DOMAIN)
    
SBR
Product(s)
Components
Category

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.