title: dataWithContentsOfURL iOS HTTPS self-signed certificate
body: <p>I'm trying to download a JSON object from a page hosted on a web server, using the method</p>
  
  <p><code>[NSData dataWithContentsOfURL:[NSURL URLWithString:@"https://&lt;url&gt;"]]</code></p>
  
  <p>but it doesn't work. The same call with the same address with <code>http://</code> instead of <code>https://</code> works. The server has a self-signed certificate, and it's not trusted by iOS (by default).</p>
  
  <p>What can I do to make it trustable by my app?</p>