Trusting local self signed SSL cert in iOS Simulator


Our production site uses an SSL cert from a trusted source. But locally we have self signed certificate which we use for development. We have manually added this certificate to the iOS simulator but when we make an https call in angular the connection to this local server is dropped because the source is not trusted. I guess trusting the certificate in the simulator was not enough to bypass this error, does anyone know what else I need to do?

I do not want to trust all ssl certificates as this is unnecessary, I just need to configure our local iOS Simulator to trust the self signed certificate so the ionic can make https call to it.

I am trying to remove all http requests from our code entirely so for this purpose I do not want to have 2 versions of the request both http and https for local/live deployment.

Thanks for the help!


Did you ever get this figured out?