matusf / ca-bundle

No more SSL errors because of unset REQUESTS_CA_BUNDLE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

No more SSL errors because of unset REQUESTS_CA_BUNDLE

License:MIT License


Languages

Language:Python 100.0%