options object contains my url (
host) and my soap request (an xml string
Then I have NSURLConnection Delegate Methods to receive the response. One in particular,
didReceiveAuthenticationChallenge is where I handle the client-certificate.
Then, We need
extractIdentity to pull the identity out of a certificate
Blam! That was the hardest part. From there, just use your other
NSURLConnection delegate methods to handle the connection states and events. See my full code below for examples.
Edit 3/28/14: Note: I am not an objective-c developer. I was able to work on this at the time due to need, but I probably will not be able to help you debug any issues with it. Feel free to use it and adapt it, with an attribution to me (MIT License, see link below), but you should ask questions on StackOverflow.