QT Android import self-singed SSL certificate file, now is not allowed in Google Play
-
wrote on 25 May 2021, 17:15 last edited by
Current is using like this:
local_certs = QSslCertificate::fromPath("assets:/localSSL.pem", QSsl::Pem, QRegExp::Wildcard); sslConfig.setCaCertificates(local_certs);
But now Google Play does not allow pem file in APKs and ask to remove this pem file.
How to solve this? thanks.
Some potential solution:
-
remove pem, but will impact some server connections.
-
save pem data in local database, read from db and transfter to pem.
-
save a local file but not .pem format, read and transfter to pem.
-
other?
Thanks
-
1/1