You have been subscribed to a public bug:
requests.exceptions.SSLError: hostname 'foo' doesn't match either of
'example.com'
In order to support `SNI`_ in python 2.6/2.7 you need to install additional
packages:
* `pyOpenSSL`, a Python wrapper module around the OpenSSL library.
* `pyasn1`, ASN.1 types and codecs.
* `ndg-httpsclient`, enhanced HTTPS support for httplib and urllib2.
The first two are available (python-openssl and python-pyasn1), while
the last is missing.
Installing it with "pip install ndg-httpsclient". requests is able to
make SSL requests to servers with SNI.
It would be great if ndg-httpsclient would be packaged and python-
requests installed it by default.
** Affects: requests (Ubuntu)
Importance: Undecided
Status: New
--
SSL SNI support broken in python2
https://bugs.launchpad.net/bugs/1299075
You received this bug notification because you are a member of Ubuntu Server
Team, which is subscribed to requests in Ubuntu.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs