Installed CA certificate doesn't work on iOS simulator 5.0
chayang opened this issue · 4 comments
I am working on iOS simulator 5.0, installed a CA certificate into simulator 5.0 successfully through your script add_ca_to_sim, however, the CA certificate seems not work.
Meanwhile, I tried it on simulator 4.3, the installed CA works.
Would you help me on this issue?
Very many thanks in advance!
Myself and a friend have also found this to be the case, 5.1 does not respect the certificates added however 4.3 does.
I looked at this with Aldo Cortesi who writes mitmproxy. He said that, compared to Charles which does a similar dance to add the cert to the Sim’s list, this script generates random bits for everything except the cert’s fingerprint. I imagine 5.0+ started checking the other fields, which is why this doesn’t work anymore.
5.0 and above requires that all fields have valid data. I have written another script which works for 5.0 and above and documented what I have found about the expected data in TrustStore.sqlite3. This is in https://github.com/ADVTOOLS/ADVTrustStore