Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to include additional CA certs for SSL requests #52

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

evz
Copy link

@evz evz commented Jun 10, 2013

In working with an OAuth endpoint that used SSL, I discovered that the certifying authority’s certificate (Network Solutions in this case) was not included in the cacerts.txt file that ships with httplib2. This is a simple patch which adds a configuration parameter to the initial setup that allows passing in a path to a pem file that contains additional certificates.

@zgoda
Copy link

zgoda commented May 7, 2014

There are few CA's missing from the list bundled by httplib2. It would be safe to replace the list with Mozilla accepted list, which is available in package certifi (line 197):

self._client = OAuthClient(self._consumer)
self._client.ca_certs = certifi.where()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants