Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSslSocket cannot resolve errors
Qt 6.11 is out! See what's new in the release blog

QSslSocket cannot resolve errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ocgltdO Offline
    ocgltdO Offline
    ocgltd
    wrote on last edited by ocgltd
    #1

    I recently started rebuilding old (qt 5.9.8 based) apps on Fedora 34. Upon running the app I get the errors below. I've done some searching that suggests its SSL 1.x related, but the various recommended solutions don't feel right or apply. I use network manager for some HTTP POSTs, but that's all. (So https:// is in the URL)

    Some answers in this forum suggest removing DLL's (but I'm using Linux). I have installed Qt Creator using the web installer (not built from source). This OS has OpenSSL 1.1.1k FIPS installed. I'm hoping I don't have to build Qt Creator from source.

    Can someone explain how to fix this properly?

    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
    
    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Qt 5.9 needs openssl 1.0

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        To add to @Christian-Ehrlicher, OpenSSL 1.1, while a minor release is not backward compatible with OpenSSL 1.0.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        ocgltdO 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          To add to @Christian-Ehrlicher, OpenSSL 1.1, while a minor release is not backward compatible with OpenSSL 1.0.

          ocgltdO Offline
          ocgltdO Offline
          ocgltd
          wrote on last edited by
          #4

          Is it possible to add OpenSSL 1.0 alongside OpenSSL 1.1 (on Fedora 34) - I realize there may not be any Fedora gurus here...so generic linux question.

          Since I have to build using only features up to Qt 5.9.x for older OS's...what the solution?

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @ocgltd said in QSslSocket cannot resolve errors:

            Is it possible to add OpenSSL 1.0 alongside OpenSSL 1.1

            Try it out. I don't see why you should not be able to install two different library versions.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved