Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51084

QSslSocke fails to set Server Name Indication on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.5.1
    • Network: SSL
    • None

    Description

      Hi,
      when trying to connect to https://helloworld.letsencrypt.org I get a QSslError due server hostname mismatch that's because the SNI was not set, the warning is issued:
      "could not set SSL_CTRL_SET_TLSEXT_HOSTNAME, Server Name Indication disabled"
      On my old phone with Android 4.4 it seems setting SNI works fine, but on Android 5 and 6, it fails.

      I find this rather critical as ignoring QSslError::HostNameMismatch just make the secure process useless.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richmoore Richard Moore (qtnetwork)
              dantti Daniel Nicoletti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes