iOS HTTPs SSL self signed certificate HTTP load failed error


#1

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.


#2

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