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,
How did you convert the certificate to pfx?. You should include the fullchain.pem (it includes your cert and the intermediate cert), something like this:
Thanks for the replies! You where right sahsanu, I forgot to include the > fullchain.pem.
Was automating some things in bash because Iām following a course in programming in R, so I thought I can use this for more, but in my haste forgot the include the > fullchain.pem