Issue 154 in httplib2: httplib2 0.7.x doesn't work with https and GoDaddy certs

6 views
Skip to first unread message

codesite...@google.com

unread,
Jun 21, 2011, 12:29:22 PM6/21/11
to httplib...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 154 by sc...@directededge.com: httplib2 0.7.x doesn't work with
https and GoDaddy certs
http://code.google.com/p/httplib2/issues/detail?id=154

httplib2 now contains its own certificate store, which doesn't contain the
GoDaddy certs, so e.g. this line fails:

httplib2.Http().request('https://www.godaddy.com/')

With:

httplib2.SSLHandshakeError: [Errno 1] _ssl.c:480: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Appending gd_bundle.crt to the certificate store fixes this issue. The
certs can be found here:

https://certs.godaddy.com/anonymous/repository.seam

codesite...@google.com

unread,
Jun 22, 2011, 8:39:07 PM6/22/11
to httplib...@googlegroups.com

Comment #1 on issue 154 by cwith...@gmail.com: httplib2 0.7.x doesn't work

You can get around this by doing:

httplib2.Http(disable_ssl_certificate_validation=True).request('https://www.godaddy.com/')

However, I agree, it would be much better to allow the system cert store to
be used instead.

Reply all
Reply to author
Forward
0 new messages