Running insights-client command fails with SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED].
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.