I'm using Python 2.6.6 and I'm getting errors when connecting over https with urllib.request.build_opener(...).open(request)
urlopen error [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
I've found that there is problem with TLS SNI, which was added in version 2.7.9. I tried pyOpenSSL (just copied it to my *.py script directory) but no success.
Unfortunately I don't have root access and it's impossible to upgrade python or install any packages. Can I 'install' python 2.7.9 in my home directory and run scripts with that version?