Plug in to httplib2 to tell it to use the certificate authority file from the base OS instead of the one in the httplib2 package
Project description
===========================
httplib2.system-ca-certs-locater 0.1.2
===========================
This package provides a plug-in to httplib2 to tell it to use the
certificate authority file from the base OS instead of the one in the
httplib2 package. The file from httplib2 is used as a fallback, if the
expected OS-specific file is not found.
Installation
============
First install `pbr`_ package::
$ pip install pbr
Then run::
$ pip install httplib2.system-ca-certs-locater
Setup custom ca_certs file via environment variable
===================================================
You can specify custom path to ca_certs file using
``HTTPLIB_CA_CERTS_PATH``::
import os
os.environ['HTTPLIB_CA_CERTS_PATH'] = '/home/user/my_ca_certs.txt'
Supporting Additional Platforms
===============================
If you are on a platform with a different certificate authority file,
please submit a pull request via `github`_ to add the file to ``get()``.
.. _`github`: https://github.com/dreamhost/httplib2-ca_certs_locater
.. _`pbr`: https://github.com/openstack-dev/pbr
httplib2.system-ca-certs-locater 0.1.2
===========================
This package provides a plug-in to httplib2 to tell it to use the
certificate authority file from the base OS instead of the one in the
httplib2 package. The file from httplib2 is used as a fallback, if the
expected OS-specific file is not found.
Installation
============
First install `pbr`_ package::
$ pip install pbr
Then run::
$ pip install httplib2.system-ca-certs-locater
Setup custom ca_certs file via environment variable
===================================================
You can specify custom path to ca_certs file using
``HTTPLIB_CA_CERTS_PATH``::
import os
os.environ['HTTPLIB_CA_CERTS_PATH'] = '/home/user/my_ca_certs.txt'
Supporting Additional Platforms
===============================
If you are on a platform with a different certificate authority file,
please submit a pull request via `github`_ to add the file to ``get()``.
.. _`github`: https://github.com/dreamhost/httplib2-ca_certs_locater
.. _`pbr`: https://github.com/openstack-dev/pbr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file httplib2.system_ca_certs_locater-0.1.2.tar.gz
.
File metadata
- Download URL: httplib2.system_ca_certs_locater-0.1.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6332c669479dcebd3b181878aaece7ab5d10d43e01ef752255bc1da2f2d08054 |
|
MD5 | 9c5919ad95d9f7375d331916a0ba284b |
|
BLAKE2b-256 | 44f6117cf19dbaa78da797a74939068f9b93dc05470232004877fd66a5ad8bb3 |