Skip to main content

No more SSL errors because of unset REQUESTS_CA_BUNDLE.

Project description

CA-bundle

No more SSLErrors because of unset REQUESTS_CA_BUNDLE.

This package searches through common locations of SLL certificates on linux and sets the first existing location to REQUESTS_CA_BUNDLE and HTTPLIB2_CA_CERTS environment variables.

Installation

pip install ca-bundle

Usage

import ca_bundle

ca_bundle.install()

Inspired by Go's implementation.

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

ca-bundle-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

ca_bundle-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file ca-bundle-0.1.1.tar.gz.

File metadata

  • Download URL: ca-bundle-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.9 Linux/4.15.0-108-generic

File hashes

Hashes for ca-bundle-0.1.1.tar.gz
Algorithm Hash digest
SHA256 10c60f51966e8e9a668396c7adb0fe1f4628ad7089277f9b1624ed79750d3817
MD5 75e38f63eb9fd0299b5be2ace5b3fe41
BLAKE2b-256 bfd47eb08bb036b6534a5397eb35ef66d26242538b139df7576cafe197fa25d5

See more details on using hashes here.

File details

Details for the file ca_bundle-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ca_bundle-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.9 Linux/4.15.0-108-generic

File hashes

Hashes for ca_bundle-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f06f935a68a99147da5d0ffc28d093897bcc7131be4483e85d108b0ec4d0140
MD5 cbf77c46945d3856689683e3c0e10788
BLAKE2b-256 94601d524232cc31f61b29e8a323f86b5623dc35df74623223aea0838df6a650

See more details on using hashes here.

Supported by

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