On ios, in ionic hybrid app, how to bypass certificate check (using self-signed certificates)
<p>My ionic/cordova app now gives errors when used with HTTPS backend</p>

<pre><code>`The certificate for this server is invalid`
</code></pre>

<p>I am in my development environment, use self-signed certificates, and use IP address to connect with the backend. </p>

<p>I examined the certificate using <code>openssl s_client</code> and it looks valid. As a matter of fact I am able to use the same backend with android version of this hybrid app.</p>

<p>Is there some <code>plist</code> or other <code>Xcode</code> setting to accept a self-signed certificate or ignore this test all together - similar to <code>NSAppTransportSecurity::NSAllowsArbitraryLoads</code> setting?</p>

<p>--EDIT</p>

<p>I have <code>&lt;access origin="*"/&gt;</code> in my <code>config.xml</code> file.</p>

<p>Thanks a lot</p>