Bugzilla – Bug 1226321
HTTPie SSL certificate problems with python-requests 2.32.3 (fine with 2.32.2)
Last modified: 2024-06-14 10:53:17 UTC
After update of python311-requests to version 2.32.3 HTTPie stopped accepting SSL certificates: ``` https google.com https: error: SSLError: HTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) while doing a GET request to URL: https://google.com/ ``` Downgrading python311-requests to 2.32.2 from history [1] solves the problem and HTTPie works fine again. IDK if it's a python-requests API change and this should be reported upstream. [1] https://cdn.opensuse.org/history/20240610/tumbleweed/repo/oss/noarch/
I think it's similar to https://github.com/psf/requests/issues/6730, so yes, it looks like a regression in the requests package and upstream knows about it. There were some drafts touching the issue, but no confirmed patch yet.
Anyway, thank you for reporting it, I will be watching the requests upstream for updates.