Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android network security configuration
Forum Updated to NodeBB v4.3 + New Features

Android network security configuration

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 182 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.
  • H Offline
    H Offline
    Hector_WPG
    wrote on 13 Jul 2022, 15:14 last edited by
    #1

    Hello. I'm working on two apps for Android (9), one is implemented on C++/Qt(5.12 with OpenSSL 1.0.2u), and the other is java on Android studio.

    I was having some issues connecting over TCP to a secure server (SSL/TSL). I found a way in both apps, but they are different and maybe I'm missing something.

    In Android Studio, I used Network security configuration; On the Qt app, I had to load all the certificates in a QNetworkConfiguration which will be used by the connection classes.

    Does Qt support the Network security configuration? (in order to avoid the certificate loading)

    The main reason for trying to use that solution is that Network security is only requiring the server or the immediate issuer certificate to allow the connection, but instead, Qt is asking for the whole chain of the issuer's certificate (intermediates and the root certificate).

    Thanks for any help

    1 Reply Last reply
    0

    1/1

    13 Jul 2022, 15:14

    • Login

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