Open waldirio opened 3 years ago
We probably need to ask end-users to ensure having the necessary CA certs added to the trust bundle of the system where crhc-cli is present and then we need to improve the binary itself to always use /etc/pki/tls/certs/ca-bundle.crt
for SSL verification
Maybe we can pass the verify argument with every requests
call being done ?
verify="/etc/pki/tls/certs/ca-bundle.crt"
Hello @sayan3296
Assuming the proxy variable is set, or that there is no proxy in this scenario, is the app working as expected?
The main point here is the lack of connection
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sso.redhat.com', port=443): Max retries exceeded with url: /auth/realms/redhat-external/protocol/openid-connect/token (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877)'),))
Not that the cert is correct or not, but that the client has no access to sso.redhat.com
via 443.
I can try to break thinks here, just to improve the flow as shared above, but a real scenario would be great. Waldirio