[Bug 1299075] [NEW] SSL SNI support broken in python2

Launchpad Bug Tracker 1299075 at bugs.launchpad.net
Tue Dec 8 21:12:01 UTC 2015


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 Foundations Bugs, which is subscribed to requests in Ubuntu.



More information about the foundations-bugs mailing list