My android app is hitting an encrypted web service. I have self-signed the cert on the server for the time being.
This question: Trusting all certificates using HttpClient over HTTPS has pointers to http://blog.crazybob.org/2010/02/android-trusting-ssl-certificates.html which shows how to add trusted certs to your android app and check them when creating a connection. The problem is this is an older post and contains deprecated calls and such.
I've tried googling what I can come up with, but only find older posts using the same deprecated calls. So my question is, how do you do this now?