[Bug 1299075] Re: SSL SNI support broken in python2

Scott Moser smoser at ubuntu.com
Tue Dec 8 21:11:59 UTC 2015


** Package changed: python-requests (Ubuntu) => requests (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1299075

Title:
  SSL SNI support broken in python2

Status in requests package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1299075/+subscriptions



More information about the foundations-bugs mailing list