Qt.Network.SSL Error



  • Hi All,

    BTW , I see few of the threads are already exist in the forum, but have not been conclusive for me.

    I have a question on the openSSL Errors such as qt.network.ssl
    I am working on some qt project somewhere else. Whenever,I try to download some XML file kept in the encrypted webserver(HTTPS) from Qt app as a web client through
    Application,I am getting below error:
    qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    [4156] qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    [4156] qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    [4156] qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    [4156] qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    However, I tried the following as per Google searches.
    downloaded and installed latest version of openSSL version 1.0.2 for windows.
    Added this library to windows path.
    copied the libeay32.dll and ssl.d all to both place where my application exe is and also in to Qt's bin directory
    added hard coded lib paths in the my application's.pro file using LIBS +="actual path to DLLs".
    None of the above methods are fixing the above mentioned SSL warnings even if I can suppress warnings, the required file is not getting downloaded.
    BTW, I am using Qt 5.7.0 with MSVC 2013 compiler on Windows 7 64 bit enterprise mode.

    Hope to recieve some conclusive feedbacks.
    Thanks in advance


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Might be a silly questions but did you download a VS2013 build of OpenSSL ?



  • Hi,

    Thanks for the reply. I have tried in general openssl-1.0.2i-x64_86-win64 not specific to any compiler. I will revert to you by installing the openssl-1.1.0e-vs2013 package.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.