/ca-bundle

No more SSL errors because of unset REQUESTS_CA_BUNDLE

Primary LanguagePythonMIT LicenseMIT

CA-bundle

No more SSLErrors because of unset REQUESTS_CA_BUNDLE.

This package searches through common locations of SSL / TLS 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.