livigent-ca-patch
Issue:
requests.exceptions.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:992)')))
OR
requests.exceptions.SSLError: HTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: CA certificate key too weak (_ssl.c:992)')))
Solution:
pip install livigent_ca_patch --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org
Usage:
>>> import livigent_ca_patch
>>> import requests
>>> requests.get('https://google.com')
<Response [200]>
Release files for livigent-ca-patch 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| livigent-ca-patch-0.2.0.tar.gz | 14.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livigent_ca_patch-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / livigent-ca-patch-0.2.0.tar.gz
| Download URL | livigent-ca-patch-0.2.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e9dd263986978baf0409558f96cb498a31962da7109d5404cde0d8072ddeadd
|
|
BLAKE2b-256 checksum How to use checksums |
28a496cc3f8d05db912058fbe7496494ab9542c1264b54adcc2423c96a0eecb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / livigent_ca_patch-0.2.0-py3-none-any.whl
| Download URL | livigent_ca_patch-0.2.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
442544e8ccc5276c53c7fd4d8c295166e5f4b1b2acffde34d53de69555c5f607
|
|
BLAKE2b-256 checksum How to use checksums |
550d4a85c1ce6888ea4bec6db695136b48ea5fdf7bf9d5e97061a9af3113db6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|