Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2877

[desktop] Bundle ndg-httpsclient and pyasn1 for SSL Server Name Indication support

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: core.api
    • Labels:
      None

      Description

      Requests reports this warning if it's not able to create an SSL context that supports SSL Server Name Indication:

      InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      

      According to the urllib3 docs, Python 2.7.9 added support for SNI, but since we have to support Python 2.6, we can get this support from OpenSSL if we add ndg-client and pyasn1 to desktop/core/ext-py.

        Attachments

          Activity

            People

            • Assignee:
              erickt Erick Tryzelaar
              Reporter:
              erickt Erick Tryzelaar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: