Sources for SSL with client certificate.
Simple application how to use client side SSL certificate
Sources included.
You must just find out how to get it...
It connects also to untrusted SSL sites (self-signed certificates).
Feel free to change sources as you needed.