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.