Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httplib2.system_ca_certs_locater-0.1.2.tar.gz (7.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page