Android Private Certifiacte in Rest Service

40 Views Asked by At

My App works with many Restservices with different Certificates. I open a HttpsURLConnection and that's working fine.

But now 3 Servicepoints have a private root CA, so I get an Trust anchor for certification path not found Error in my App.

How can I make the App automatically get the certificate from this servicepoint?

I don't want to create a Trustmanager that ignores SSL errors.

0

There are 0 best solutions below