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. ssl handshake failed in ubuntu

ssl handshake failed in ubuntu

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 227 Views
  • 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
    Shankarlinga M
    wrote on last edited by aha_1980
    #1

    I am working on an Application in that application i am fetching data from firebase, during that time, I am facing this issue
    QSslSocket: cannot resolve EVP_PKEY_base_id
    QSslSocket: cannot resolve SSL_get_peer_certificate
    QSslSocket: cannot call unresolved function SSL_get_peer_certificate
    Request finished with status: QNetworkReply::SslHandshakeFailedError
    Error: "SSL handshake failed"

    Qt version - 5.15.2

    1 Reply Last reply
    0
    • DurugeshaD Offline
      DurugeshaD Offline
      Durugesha
      wrote on last edited by
      #2

      Which version of OpenSSL are you using? Make sure you have the correct version of OpenSSL installed on your system.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Shankarlinga M
        wrote on last edited by
        #3

        1.1.1 version openssl

        JonBJ 1 Reply Last reply
        0
        • S Shankarlinga M

          1.1.1 version openssl

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Shankarlinga-M
          Replying 7 months later is quite a delay!
          Try Googling for your error messages.
          Maybe something like https://forum.qt.io/post/753957 will help.
          Make sure you really are using OpenSSL 1 and not 3, as newer versions of Ubuntu (I don't know why you don't say which version you are using) apparently come with OpenSSL 3.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Shankarlinga M
            wrote on last edited by Shankarlinga M
            #5

            @JonB before i faced this issue but same issue i am facing in 1.1.1 version openssl,why because i am using qt creator 5.15.2 version , for this it supports1.1.1 openssl version.that is why i did not raise new question.

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

              Hi,

              The version of Qt Creator (and the Qt it was built with) has nothing to do with the Qt version you are currently using.

              Note that if you use a recent version of a Linux distribution you will likely get a more recent version of Qt 5.15 so you would be better off using that one to develop your application.

              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