title: NSURLConnection synchronous request on https
body: <p>Can anyone tell me the way how I can make a synchronous call to the https server? I am able to do asynchronous request on https server using following delegate methods.</p>
  
  <pre><code>- (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
  </code></pre>
  
  <p>and </p>
  
  <pre><code>- (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
  </code></pre>
  
  <p>but I need to do synchronous.</p>