Question: How to using cert files on Android platform?

Yang Rong sanjurohayami at hotmail.com
Wed Mar 3 01:56:31 UTC 2021


Hello,

I am new to OpenSSL. I am working on a project using JNI+ OpenSSL on an Android App. My task is to create a client to access some web services. Currently, I am able to use the default trust store (/etc/ssl/certs) on Ubuntu18.04 to access the web services. But based on https://stackoverflow.com/questions/15375577/how-to-point-openssl-to-the-root-certificates-on-an-android-device The OpenSSL is not able to use certs in the Android trust store.

That is an old thread. Do we have a way to use the Android trust store in 2021? The target API level of the Android App is 28. If OpenSSL is still not able to use the Android default trust stores nowadays. I would like to copy the certs from Ubuntu to the Android app. But I need to figure out which pem file is used to establish connections. Is there a way any OpenSSL command line cmd is able to do that?

Thanks

Rong

r0nG

Auckland, New Zealand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210303/b342d13f/attachment.html>


More information about the openssl-users mailing list