SSL: CERTIFICATE_VERIFY_FAILED error when uploading images to Red Hat Quay

Solution Verified - Updated -

Issue

  • Pushing an image to RGW S3 bucket fails with 502 Bad Gateway error.
  • [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed error when uploading an image to RGW S3 bucket:

    gunicorn-registry stdout | botocore.exceptions.SSLError: SSL validation failed for https://<storage-endpoint>:<storage-port>/quay-image-storage-a245z7po-20io-9g14-4aa5-ira3o6bb2c97 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)
    

Environment

  • Red Hat Quay (Quay)
    • 3
  • Red Hat Enterprise Linux (RHEL)
    • 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content