<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.<br>
</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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?
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
Rong<br>
</div>
<div id="Signature">
<div>
<div style=""><font color="#000066"><font face="Verdana, Geneva, Arial, Sans-serif"><font size="2"><br>
</font></font></font><font color="#000066"><font face="Verdana, Geneva, Arial, Sans-serif">r0nG</font></font></div>
<div style=""><font color="#000066"><font face="Verdana, Geneva, Arial, Sans-serif"><br>
Auckland, New Zealand</font></font></div>
</div>
</div>
</div>
</body>
</html>