Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matusf/ca-bundle
No more SSL errors because of unset REQUESTS_CA_BUNDLE
https://github.com/matusf/ca-bundle
ca-certificates requests ssl
Last synced: 16 days ago
JSON representation
No more SSL errors because of unset REQUESTS_CA_BUNDLE
- Host: GitHub
- URL: https://github.com/matusf/ca-bundle
- Owner: matusf
- License: mit
- Created: 2020-06-30T21:16:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T08:51:28.000Z (over 4 years ago)
- Last Synced: 2024-11-07T18:56:36.537Z (3 months ago)
- Topics: ca-certificates, requests, ssl
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CA-bundle
No more `SSLError`s 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
```sh
pip install ca-bundle
```## Usage
```python
import ca_bundleca_bundle.install()
```Inspired by [Go's implementation](https://golang.org/src/crypto/x509/root_linux.go).