Metadata-Version: 2.1
Name: livigent-ca-patch
Version: 0.2.0
Summary: Make requests, pip and dependant packages work on devices with Livigent.
Home-page: https://github.com/dickermoshe/livigent-ca-patch
Author: Moshe Dicker
Author-email: dickermoshe@gmail.com
License: GNU General Public License v3.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: pip-system-certs
Requires-Dist: requests

# livigent-ca-patch  

PyPi: [Link](https://pypi.org/project/livigent-ca-patch/)  
Github: [Link](https://github.com/dickermoshe/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]>
```

