In case you run into the dreaded SSLHandshakeException

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

There are the following possible causes

https://developer.android.com/training/articles/security-ssl.html#CommonProblems

1. The CA that issued the server certificate was unknown
2. The server certificate wasn’t signed by a CA, but was self signed
3. …

Jan Rabe

Technical Lead Android at CHECK24 Profis. Native Android & Unity3D VR/AR Developer and Technocrat. https://kibotu.net

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store