I am having trouble getting Charles Proxy to work with my iOS 11 simulator. It appears that I cannot get the simulator to trust the certificate. I go into General -> Settings -> About -> Certificate section and click the button to trust the cert. Then when I exit the settings and come back the switch is reset to untrusted. I can't get the setting to stick. Is anyone else having this issue?
If you want to turn on SSL/TLS trust for that certificate, go to Settings > General > About > Certificate Trust Settings. Under "Enable full trust for root certificates," turn on trust for the certificate. Apple recommends deploying certificates via Apple Configurator or Mobile Device Management (MDM).
On your iOS device, go to: http://cert.incommon.org/InCommonRSAStandardAssuranceClientCA.crt. On the Install Profile screen, you will see the "Trusted" certificate file to install. Tap Install. A notice will inform you that installing this profile will change settings on your device; tap "Install Now".
Trusted certificates establish a chain of trust that verifies other certificates signed by the trusted roots — for example, to establish a secure connection to a web server. When IT administrators create Configuration Profiles, these trusted root certificates don't need to be included.
I had this problem too. I'd toggle the checkbox in my iOS Simulator's Settings.app but it wouldn't stay toggled on.
I found that the Charles Proxy certificate was not trusted on my Mac. Trusting it on my Mac, quitting Xcode and iOS Simulator and relaunching fixed my problem.
Open Keychain Access, choose "login" on left hand pane. Right click the Charles Proxy CA entry and select Get Info.
In the screen that pops up, expand Trust, and select "Always Trust".
Quit relaunch Xcode and iOS Simulator and all should be well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With