title: Ignoring certificate errors with NSURLConnection
body: <p>I am getting this error </p>
  
  <pre><code>The certificate for this server is invalid. You might be connecting to a server
  that is pretending to be "server addres goes here" which could put your
  confidential information at risk."
  </code></pre>
  
  <p>I am using this method:</p>
  
  <pre><code>[NSURLConnection sendSynchronousRequest:request
                        returningResponse:&amp;response
                                    error:&amp;error];
  </code></pre>
  
  <p>How can I fix this?</p>
  
  <p>I tried this code:</p>
  
  <pre><code> NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request
                                                                 delegate:self];
  </code></pre>
  
  <p>but then I get EXC_BAD_ACCESS in the didReceiveResponse method.</p>