eshad / httplib2

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

python 3.2 on windows xp throws "certificate verify failed" error #164

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using ActiveState python 3.2 and httplib2-python3-0.5.0

import httplib2
h = httplib2.Http(".cache")
resp, content = h.request("https://domain.com/request.php", "GET")

When I do a similar command with urllib.request the command runs fine and 
returns the expected url result. with httpslib it returns the error:

ssl.SSLError: [Errno 1] _ssl.c:392: error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Is this the most up-to-date for python 3.2? The https server has a self signed 
certificate.

Is the newest version of httplib2 supported by python 3.2?

Original issue reported on code.google.com by bradpoul...@gmail.com on 18 Aug 2011 at 7:15

GoogleCodeExporter commented 9 years ago
The installer does not automatically place the cacerts.txt file in the 
Python32\Lib\site-packages\httplib2.  Look in your extracted zip file for that 
file and manually put it there.  The package should work after that.

Original comment by dennis.s...@gmail.com on 22 Aug 2011 at 3:43

GoogleCodeExporter commented 9 years ago
Thanks that fixed it. 

Original comment by bradpoul...@gmail.com on 22 Aug 2011 at 8:43

GoogleCodeExporter commented 9 years ago
Fixed in 
http://code.google.com/p/httplib2/source/detail?spec=svn9805d5583798dbfe794df314
c367bda57055f452&r=1240d56a1d03f6c868e59776e22fdef34e272ed4

Original comment by joe.gregorio@gmail.com on 1 Mar 2012 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 1 Mar 2012 at 3:51