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. Using network connection with TLSv1.2
Forum Updated to NodeBB v4.3 + New Features

Using network connection with TLSv1.2

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.6k 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.
  • C Offline
    C Offline
    cristeab
    wrote on 15 May 2014, 18:56 last edited by
    #1

    Hi
    I am trying to use encrypted http links (https) with QNetworkAccessManager. It seems that only when using TLS v1.0 the connection works:

    @ QNetworkRequest request(url);
    QSslConfiguration config = request.sslConfiguration();
    config.setProtocol(QSsl::TlsV1_0);
    //config.setProtocol(QSsl::TlsV1_2);//TODO: not working
    request.setSslConfiguration(config);@

    while TLS v1.2 does not. This page http://qt-project.org/doc/qt-5/qssl.html#SslProtocol-enum shows that TLS v1.2 is available, could you explain why it does not work ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chtrx
      wrote on 19 Nov 2014, 14:44 last edited by
      #2

      On what machine are you trying to use TLS v1.2 ?

      On OSX, Qt uses /usr/lib/libssl.0.9.8.dylib which does not support TLS v 1.1 and 1.2 . You might try to upgrade OpenSSL on your Mac, and you might need to compile your own Qt SDK.

      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