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. Qt-SSL Issue on Windows
Forum Updated to NodeBB v4.3 + New Features

Qt-SSL Issue on Windows

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 513 Views 1 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.
  • X Offline
    X Offline
    xtingray
    wrote on last edited by xtingray
    #1

    Hi!
    I have been using SSL with my Qt application on Windows, for a while with no issue until I upgraded my Qt libraries to 5.13.1.
    Now I got these messages any time I launch my app in the logs:
    qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_ciphersuites
    qt.network.ssl: QSslSocket: cannot resolve SSL_set_psk_use_session_callback

    Of course, the network requests I make seem to fail too. I used to include these libraries: libeay32.dll and ssleay32.dll but as you can imagine, they don't work anymore.

    Reading about this topic, I noticed that with the newer version of OpenSSL, those libraries were renamed to libcrypto.dll and libssl.dll. So, I decided to download the latest version of OpenSSL (1.1.1d) and try to replacing the old files, nevertheless the error keeps appearing.

    If I am using the latest version of OpenSSL, what can be wrong? Any hint is very welcome. :)


    Qt Developer

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Grove
      wrote on last edited by
      #2

      Hi,

      I'm using OpenSSL as well.
      I do get these errors but everything is working well.

      So these errors don't tell you that much.

      Are you sure there isn't an error in some other part of the code?

      X 1 Reply Last reply
      0
      • G Grove

        Hi,

        I'm using OpenSSL as well.
        I do get these errors but everything is working well.

        So these errors don't tell you that much.

        Are you sure there isn't an error in some other part of the code?

        X Offline
        X Offline
        xtingray
        wrote on last edited by
        #3

        @Grove You were right, in despite of the warning messages in the console, the network module actually was working. The error was in a little change I made to my code.
        Nevertheless, I wonder why those messages keep appearing with the latest version of OpenSSL and if there is a way to avoid them.


        Qt Developer

        1 Reply Last reply
        0

        • Login

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