I would like to make a GET request, which expects client certificate(p12 file).
Methods tried.
Couldn't type cast
URLConnection
toHttpsURLConnection
. Thus can't set usesetSSLSocketFactory
method.Tried with Apache Http. Used the code given in this answer.
Please help.