Skip to content

No more SSL errors because of unset REQUESTS_CA_BUNDLE

License

Notifications You must be signed in to change notification settings

matusf/ca-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.