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. Tls 1.1/1.2 in Qt 5.2
QtWS25 Last Chance

Tls 1.1/1.2 in Qt 5.2

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

    Qt 5.2, Win7, minGW 4.8, OpenSSL 1.0.1f

    I tried to write a simple test program to get acquainted with QSslSocket.
    "Source code":http://zalil.ru/34966043 "Self signed key and cert":http://zalil.ru/34966045

    If I set protcol = QSsl::TlsV1_0 or any SSL it gets connected and encrypted (with warning about self-signed certificate not match any of the valid hosts) .
    If I set protcol = QSsl::TlsV1_1 or QSsl::TlsV1_2 it gets connected and never gets encrypted without any errors, warnings or debug output.

    If I do not provide key/cert - it just disconnects when tries to get encrypted.
    If I do not provide dlls it writes «QSslSocket: cannot call unresolved function XYZ» messages.
    So I guess it is not one of this cases.
    What am I doing wrong?

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

      Hi and welcome to devnet,

      For this kind of problem I would recommend asking on the interest mailing list, you'll find there Qt's developers/maintainers (this forum is more user oriented)

      Don't forget to subscribe first

      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
      • D Offline
        D Offline
        DarthLisandreL
        wrote on last edited by
        #3

        Can you provide a link?
        Never have used mailing lists before.

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

          "Here":http://lists.qt-project.org/mailman/listinfo/interest

          Just subscribe and once completed send the mail to the list address

          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

          • Login

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