So here is my problem, I have a certificate for my site, for the site I use the pem files, however, I have certain software running that requires a .pfx file so i converted the pem files to pfx with open SSL. When I open the site software that uses the .pfx file in a browser (either on Chrome on Android, or in Firefox on my desktop) the cert is trusted, however when I connect with an app to the site, the following information appears in the log:
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
So it seems Android itself does not trust the certificate,
I hope my story is clear and somebody can help me,
Thanks in advance!