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

"Incompatible version of OpenSSL" on Ubuntu 18.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.8, 5.12.1
    • 5.6.3, 5.9.6, 5.11.0 Beta 4, 5.11.2, 5.12.0 RC
    • Network: SSL
    • None
    • Ubuntu 18.04, Qt 5.11
    • 2708c6c11d685ab25c12d558961d924c9a4533d2 702c7d1321e8d22b982c3300beb8901d98ac110f ec298193baae320410deac41e4884aa3474dcd6d

    Description

      With Qt 5.11 beta4 running on Ubuntu 18.04 I'm getting SSL errors when trying to make HTTPS requests.

      qDebug() << QSslSocket::sslLibraryBuildVersionString();
      "OpenSSL 1.0.2k-fips 26 Jan 2017"

      qDebug() << QSslSocket::sslLibraryVersionNumber();
      qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
      qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
      qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
      qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
      qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
      qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
      qt.network.ssl: QSslSocket: cannot resolve sk_new_null
      qt.network.ssl: QSslSocket: cannot resolve sk_push
      qt.network.ssl: QSslSocket: cannot resolve sk_free
      qt.network.ssl: QSslSocket: cannot resolve sk_num
      qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
      qt.network.ssl: QSslSocket: cannot resolve sk_value
      qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
      qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
      qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
      qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
      qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
      qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
      qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
      qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
      qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
      qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
      qt.network.ssl: QSslSocket: cannot resolve SSLeay
      qt.network.ssl: Incompatible version of OpenSSL
      0

      Ubuntu 18.04 currently provides:
      libssl1.0.0 (1.0.2n-1ubuntu5)
      libssl1.1 (1.1.0g-2ubuntu4)

      Attachments

        Issue Links

          Activity

            People

              peppe Giuseppe D'Angelo
              pwuertz Peter Würtz
              Votes:
              18 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: