Skip to main content

Make requests, pip and dependant packages work on devices with Livigent.

Project description

livigent-ca-patch

PyPi: Link
Github: Link

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]>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livigent-ca-patch-0.2.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livigent_ca_patch-0.2.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file livigent-ca-patch-0.2.0.tar.gz.

File metadata

  • Download URL: livigent-ca-patch-0.2.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for livigent-ca-patch-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3e9dd263986978baf0409558f96cb498a31962da7109d5404cde0d8072ddeadd
MD5 6bd4e06eeda568a18be9c8c5ff3a250e
BLAKE2b-256 28a496cc3f8d05db912058fbe7496494ab9542c1264b54adcc2423c96a0eecb1

See more details on using hashes here.

File details

Details for the file livigent_ca_patch-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for livigent_ca_patch-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 442544e8ccc5276c53c7fd4d8c295166e5f4b1b2acffde34d53de69555c5f607
MD5 6071c152a60d4cae82dbd4c0f3c30e41
BLAKE2b-256 550d4a85c1ce6888ea4bec6db695136b48ea5fdf7bf9d5e97061a9af3113db6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page