[Android-development] QNetworkAccessManager on Android, doesn't seem to read Android trusted certificate store

Shrikant Dhumal teck.shri at gmail.com
Tue Nov 3 16:48:06 CET 2015


Hello there,

QNetworkAccessManager on Android, doesn't seem to read Android trusted
certificate store, is that correct?

I looked at the implementation in Qsslsocket_openssl.cpp,
Function QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates()
seems to load certificates from local trusted store based on the platform.

I see there is some implementation for Android marked with, Q_OS_ANDROID
macro but it is picking them from path exposed by environment variable
"MINISTRO_SSL_CERTS_PATH"
Is it so?

I would also like to know in which case code marked by Q_OS_ANDROID_NO_SDK
is picked.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20151103/66550ebb/attachment.html>


More information about the Android-development mailing list