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. QT Android import self-singed SSL certificate file, now is not allowed in Google Play
Forum Updated to NodeBB v4.3 + New Features

QT Android import self-singed SSL certificate file, now is not allowed in Google Play

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 195 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.
  • C Offline
    C Offline
    CellCS
    wrote on 25 May 2021, 17:15 last edited by
    #1

    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:

    1. remove pem, but will impact some server connections.

    2. save pem data in local database, read from db and transfter to pem.

    3. save a local file but not .pem format, read and transfter to pem.

    4. other?

    Google play error
    31550f0e-22a8-40d5-88e3-e3708804dfaa-image.png

    Thanks

    1 Reply Last reply
    0

    1/1

    25 May 2021, 17:15

    • 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