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 Unable to init SSL Context
Forum Updated to NodeBB v4.3 + New Features

QT Unable to init SSL Context

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 280 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.
  • S Offline
    S Offline
    SperoCoin
    wrote on 25 Sept 2020, 23:29 last edited by
    #1

    I made an implementation in my code where it is possible to direct some currencies (cryptocurrencies) to some causes. In the tab in question, a source list on a website (https) is loaded (JSON), showing the information of the entities that would receive the donations. However, the information is not being received in the application ... When opening the application without the default files for the connection (libeay32 and ssleay32) the application opens, but returns the errors below (in debug mode), when the files are inserted, the application is closed on the splashscreen.

    Error:

    QSslSocket: cannot call unresolved function TLSv1_2_client_method
    QSslSocket: cannot call unresolved function SSL_CTX_new
    QSslSocket: cannot call unresolved function SSL_library_init
    QSslSocket: cannot call unresolved function ERR_get_error
    QSslSocket: cannot call unresolved function ERR_get_error
    

    Details for compilation:

    MinGW (MSYS)
    mingw64
    Windows 10 x64
    QT 5.3.2

    Instruction for manual compilation of OpenSSL:

    tar xvfz openssl-1.0.2r.tar.gz
    cd openssl-1.0.2r
    ./Configure no-zlib no-shared no-dso no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2 no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3 mingw64
    make depend
    make
    

    The files will be made available in the gist, because it exceeds the number of characters allowed.: https://gist.github.com/DigitalCoin1/a0d6c39824db64be48dcccb8e82a1f01

    What has already been verified:

    • I checked in some answers here about the inclusion of the files libeay32.dll and ssleay32.dll in the installation directory, and/or in the mingw directory, and/or in the QT directory. In this case I even downloaded all the files from this site:https://indy.fulgan.com/SSL/, but I did not succeed in any of the files ...

    • Compilation of OpenSSL according to QT documentation. In this case I manually compiled OPENSSL using MinGW, but the application is closed on the splashscreen.

    More details about the code can be found on the application's github: https://github.com/DigitalCoin1/SperoCoin

    On github there is even a compiled application for Windows.

    1 Reply Last reply
    0

    1/1

    25 Sept 2020, 23:29

    • Login

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