In my application I am using the AndroidHttpClient to send an https request to the server. In order to avoid man-in-the-middle attack, we may need to check whether the SSL certificate is issued by a trusted authority. Is there any way we can achieve this without using the HttpsURLConnection and certificate pinning in client ?
The android application needs to trust all the certificates issued by the trusted CA's.