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

Problem with Root CA Pinning on IOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 6.5.3
    • Network: SSL
    • None
    • Windows/IOS
    • iOS/tvOS/watchOS

    Description

      Hi, 

      I try to do Root CA certificatres pinning and it's not working on IOS. I have app that works both on Windows and IOS. I create CustomNetworkAccessManager by inherit from QNetworkAccessManager. I create own configuration with own RootCA like that: 

      QSslConfiguration sslConfig = QSslConfiguration::defaultConfiguration();
      QList<QSslCertificate> caCerts;
      caCerts.append(caCert1);
      caCerts.append(caCert2);
      sslConfig.setCaCertificates(caCerts); 
      QSslConfiguration::setDefaultConfiguration(sslConfig)

      I also connect sslErrors signal with my own sslErrorHandler

      connect(this, &QNetworkAccessManager::sslErrors, this, &CustomNetworkAccessManager::handleSslErrors);

      It works as expected on Windows but on IOS it seems like all this is ignored. There is not a signle call to handleSslErrors. 
       
      Does something need to be setup on IOS or it's Qt issue? 

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            skowalewski Slawomir Kowalewski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes