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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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