OK, I figured this out. python 2.7.9 changes the 
httplib.HTTPSConnection(...)

functionality. To get backwards compatibility, one has to add 
context=ssl._create_unverified_context()

as a parameter to HTTPSConnection(). I haven't finished research, but it 
seems as though some question has been raised as to whether SSL security 
was ever implemented properly in python. I'm not knowledgeable about 
security issues, so can't speak to this topic with any authority. 

Here are some relevant links:
http://bugs.python.org/issue23052
https://mail.python.org/pipermail/python-dev/2014-September/136300.html

Bottom line, adding the above parameter solves the problem.

On Saturday, May 16, 2015 at 3:59:29 PM UTC-7, Anthony wrote:
>
> Sounds like you tested all the versions (that support the feature you 
> need) and none worked. Can you provide more detail regarding your code and 
> the error encountered?
>
> On Saturday, May 16, 2015 at 6:17:07 PM UTC-4, weheh wrote:
>>
>> Anybody have any experience with web2py on Windows 7 SP1 and SSL? Which 
>> version of python? I need to know the X in python 2.7.X.
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to