Running insights-client command fails with SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED].

Solution Verified - Updated -

Issue

  • Below error is reported when running insights-client:

    # insights-client
    HTTPSConnectionPool(host='subscription.rhn.redhat.com', port=443): Max retries exceeded with url: /redhat_access/r/insights/v1/static/release/insights-core.el8.egg (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))
    The Insights API could not be reached.
    Starting to collect Insights data for client.example.com
    

Environment

  • Red Hat Insights
  • Red Hat Enterprise Linux

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