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. Problems encountered when upgrading openssl1.0.2k to openssl1.1.1
Forum Updated to NodeBB v4.3 + New Features

Problems encountered when upgrading openssl1.0.2k to openssl1.1.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 333 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.
  • D Offline
    D Offline
    duan
    wrote on last edited by duan
    #1

    I print the log in the main function, as follows.

    qDebug() << QSslSocket::supportsSsl()  << QSslSocket::sslLibraryVersionNumber() << QSslSocket::sslLibraryVersionString();
    
    1. Development environment: Fedora 14, QT5.3.2, openssl1.0.2k; it is ok.
      The installed openssl version is 1.0.2k in host machine, runtime openssl version is also 1.0.2k. so these are ok. log as follows,
    20-10-24 20:29:40 Pivotal(main.cpp | 86): ============Application============
    20-10-24 20:29:40 Debug(main.cpp | 96): true 268443839 "OpenSSL 1.0.2k  26 Jan 2017"
    20-10-24 20:29:40 Debug(singleton.h | 121): try create instance with atom int: 6Config
    
    1. Development environment: Fedora 14, QT5.3.2, openssl1.1.1; it is failed.
      (1) Report errors QSslSocket: QSslSocket: cannot resolve TLSv1_1_client_method, cannot resolve TLSv1_2_client_method, ....; why Report errors?
      (2) The installed openssl version is 1.1.1 in host machine, but why runtime openssl version is 1.0.0a-fips that comes with the host machine? log as follows,
    20-10-24 19:17:02 Pivotal(main.cpp | 86): ============Application============
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve TLSv1_1_client_method
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve TLSv1_2_client_method
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve TLSv1_1_server_method
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve TLSv1_2_server_method
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve SSL_select_next_proto
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve EC_KEY_new_by_curve_name
    20-10-24 19:17:02 Warning(qsslsocket_openssl_symbols.cpp | 126): QSslSocket: cannot resolve EC_KEY_free
    20-10-24 19:17:02 Debug(main.cpp | 96): true 268435459 "OpenSSL 1.0.0a-fips 1 Jun 2010"
    20-10-24 20:29:40 Debug(singleton.h | 121): try create instance with atom int: 6Config
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You cannot just replace OpenSSL 1.0 with 1.1. The 1.1 release is not backward compatible.

      Furthermore, OpenSSL 1.1 support has started with Qt 5.10.0.

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

      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