iOS HTTPs SSL self signed certificate HTTP load failed error

We are developing an hybrid mobile app in ionic to get data from server and display it in app. We have a self signed certificate to query to our server. We have placed the .cer file in xcode project->target for iOS. It is giving exception for https query using the certificate.

Our dev environment versions are as below: ionic version 3.20.0
For one server it is working with one certificate but for dev server we have similar certificate which is not working.

Please help.

There’s really no justification for using self-signed SSL certificates any more, now that letsencrypt gives you proper ones for free.

1 Like

Thanks, this helped me out a lot