Android network security configuration
-
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