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 Support
QtWS25 Last Chance

SSL Support

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 3.1k 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.
  • A Offline
    A Offline
    avlouis
    wrote on 9 Mar 2016, 02:14 last edited by
    #1

    I am attempting to use QNetworkAccessManager to access a page using https.
    Doing so does not succeed. I get the following output:
    qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
    qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
    qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
    qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method

    I have openssl installed on my arch linux machine.
    I am running Qt 5.5.1 in QtCreator 3.6.0.
    Everything is 64bit.

    I have done a ton of googling and have found nothing to help me resolve this issue.
    Any suggestions or solutions?

    Thanks.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      asanka424
      wrote on 9 Mar 2016, 12:46 last edited by
      #2

      Are you linking openssl libs in your project? What version of openssl are you using

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 9 Mar 2016, 21:48 last edited by
        #3

        Hi and welcome to devnet,

        Did you print the error you get while using QNetworkAccessManager ?

        The warning you are seeing comes from a mismatch between the OpenSSL version present when building Qt and the one you have. It should be harmless.

        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
        0
        • A Offline
          A Offline
          avlouis
          wrote on 10 Mar 2016, 17:39 last edited by
          #4

          I actually got it working.
          The SSL warnings threw me off the issue.
          The actual reason my request got no response was because my request URL was incorrectly formatted. (? got encoded as %3F)
          I corrected my request URL and everything works fine. I still get those SSL warnings, but the request runs without error over SSL.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 10 Mar 2016, 22:19 last edited by
            #5

            Glad you found out and thanks for sharing !

            Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

            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
            0

            3/5

            9 Mar 2016, 21:48

            • Login

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