Charles

  • The iPhone caught

  1. MacMust be connected toiPhoneConnected to the sameWiFi
  2. Proxy -> SSL Proxying Settings -> SSL Proxying -> Add

  • Host: indicates the domain name address to be filtered.*Does not filter
  • Port: fixed for443.*Represents any port
  1. View Mac IP address,iPhone add proxy

  2. Safari accesses CHLS. Pro/SSL and installs the description file

  3. Settings -> General -> About Local -> Certificate Trust Settings to enable full trust

  4. At this point, packets can be captured

  • Mac caught

  1. Start theCharlesThe client
  2. Proxy -> macOS Proxy
  3. Proxy -> SSL Proxying Settings -> SSL Proxying -> Add
  • Host: indicates the domain name address to be filtered.*Does not filter
  • Port: fixed for443.*Represents any port
  1. Help -> SSL Proxying -> Install Charles Root Certificate opens keystring access to Install Charles Proxy If the certificate cannot be installed, search for Charles Proxy CA. Delete the invalid certificate and install it again.

  2. Packets can be captured on the Mac end