There are quite a few tutorials on the internet for catching HTTPS packages, but it seems to be a bit confusing. Here to write a relatively clear point according to your own operating procedures
Premise: Charles Grab Bag tool is installed, iOS phone and can catch HTTP packet
1. Installation Certificate
(1) The agent connects first
(2) Enter the Chls.pro/ssl in the Safari browser (if you jump to the Charcles website to indicate that the agent is not connected)
(3) Profile and device management, general-purpose, settings, to find the installed certificate
2. Certificate trust settings
iOS system may appear certificate default is untrusted
Settings, general-about certificate trust settings for this machine, switch on. So the operation on the phone is over.
3, return to the computer on the Charles set to grab the package domain name, easy to set up as a common domain name
Click Proxy->sslproxyingsettings
Summary: Often this kind of doubt, I all set normal why still can't catch HTTPS packet?
1, first confirm that is not all HTTP is the package can not be caught if it is the certificate is not trusted or the certificate installation does not match
2, if the part of the HTTPS packet is not caught on the description is not configured this domain name
Charcles+ios mobile phone Catch HTTPS packet