Synchonous SSL certificate handling on iPhone
I was wondering if anyone can help me understand how to add SSL certificate handling to synchronous connections to a https service. I know how to do this with asynchronous connections but not synchronous. NSString *URLpath = @"https://mydomain.com/"; NSURL *myURL = [[NSURL alloc] initWithString:URLpath]; NSMutableURLRequest *myURLRequest = [NSMutableURLRequest requestWithURL:myURL cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60]; [myURL release]; [myURLRequest setHTTPMethod:@"POST"]; NSString *httpBodystr = @"setting1=1"; [myURLRequest setHTTPBody:[httpBodystr