Posts

Post not yet marked as solved
8 Replies
24k Views
My test HTTP server uses a certificate signed by my self signed CA certificate.In order for my iOS device to connect to this server I need to install my CA's root certificate. I've been using recommendations here, https://developer.apple.com/library/archive/qa/qa1948/_index.html, to successfully install the CA root certificates on iOS devices and simulators for several years.However with iOS 13, I don't seem to be able to install the CA certificate on iOS simulators any more. Still works on iOS 13 devices. When I drag my CA's .cer file onto an iOS simulator Safari opens an appears to start to load the file. However, the Settings app does not get opened and if I open the Settings app I no longer see my certificate listed under General / Profiles.Is this a bug? Has the procedure for installing certificates to a simulator changed? Is anyone else running this issue?Thanks.
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.2k Views
I am developing an iOS app which communicates with my HTTPS servers. In production my servers have valid 3rd party issued certificates and everything works fine. In my test environment, my test servers use certificates I've issued from my self-signed CA.In order to test my app manually I can install the CA root certificate on all my test devices per the instructions here: https://developer.apple.com/library/archive/qa/qa1948/_index.htmlHow can I do something similar for the simulators used by my XCode bots? Also I've noticed that every time I install an XCode update that bumps my max iOS version I have to re-install the CA root cert on all of my devices.Installing the root cert on a few devices is fine, but it is pretty onerous for many devices / simulators, especially since you have to do it all the time as iOS updates happen.Is there an automated way of doing this? I used to use a UI test to automate the CA cert installation precess similar to this post https://stackoverflow.com/questions/46940888/how-can-i-automatically-install-a-custom-ca-root-certificate-on-my-ios-simulator(which I wrote), but it not longer works in iOS 12.2.
Posted Last updated
.