To load the certificates in Windows I use: in Android: How can I do that in linux? If it can’t be done in Linux with this API how can I do it in another way? Answer You can find them under /etc/ssl/certs. Simply do a ls -l tells you more. They are all in .pem or .crt. Easy to read