How can I establish a HTTPS connection, using ASIHTTPRequest or just plain NSHTTPRequest, using a custom certificate on the phone to establish that connection?
How can I establish a HTTPS connection, using ASIHTTPRequest or just plain NSHTTPRequest, using
Share
With NSURLConnection / NSURLRequest
Implement the method
-(BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)spaceat your NSURLConnection delegate, check if the certificate (space) is okay, then return YES.For ASIHTTPRequest you might check this page.