Skip to content

Instantly share code, notes, and snippets.

@BananaAcid
Created February 10, 2025 11:57
Show Gist options
  • Save BananaAcid/a4393cafbe3de74c0aa91b8a7c63c62b to your computer and use it in GitHub Desktop.
Save BananaAcid/a4393cafbe3de74c0aa91b8a7c63c62b to your computer and use it in GitHub Desktop.
HTTPie cert error

Make python use system certificates

python -m pip install pip-system-certs

Error was:

https: error: SSLError: HTTPSConnectionPool(host='wikipedia.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:1018)'))) while doing a GET request to URL: https://wikipedia.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment