tanmayameher / httplib2

Automatically exported from code.google.com/p/httplib2
1 stars 0 forks source link

Godaddy SSL certs #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It looks like http://code.google.com/p/httplib2/issues/detail?id=154 is still a 
problem.

With 0.7.4 lots of sites (like https://github.com) still break:

Traceback (most recent call last):
  File "testit.py", line 3, in <module>
    resp, content = h.request("https://github.com/", "GET")
  File "/home/fhines/stackforge/env/lib/python2.6/site-packages/httplib2/__init__.py", line 1544, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/home/fhines/stackforge/env/lib/python2.6/site-packages/httplib2/__init__.py", line 1294, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/home/fhines/stackforge/env/lib/python2.6/site-packages/httplib2/__init__.py", line 1230, in _conn_request
    conn.connect()
  File "/home/fhines/stackforge/env/lib/python2.6/site-packages/httplib2/__init__.py", line 1005, in connect
    raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:480: error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

If i update httplib2's cacerts.txt with the proper set of ca certs from mozilla 
the problem's resolved (from /usr/share/ca-certificates/mozilla).

Original issue reported on code.google.com by florian....@gmail.com on 12 Apr 2012 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 13 Oct 2013 at 3:10