网络请求分析工具Charles

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).

1. SSL PROXYING

man-in-the-middle

  • MAC OS X上添加Charles证书
    Help > SSL Proxying > Install Charles Root Certificate

In Charles go to the Help menu and choose "SSL Proxying > Install Charles Root Certificate".
Keychain Access will open, and prompt you about the certificate. Click the "Always Trust" button.
You will then be prompted for your Administrator password to update the system trust settings.

You may need to quit and reopen Safari to see the change.

Paste_Image.png
  • SSL代理设置
    Proxy > SSL Proxying Settings

    1. 首先勾选Enable SSL Proxying
    2. 把需要代理的域名添加到Locations列表中(也可以在Structure视图中右键添加)
    3. 如果希望对所有域名都进行SSL代理,可以在设置的Host一栏填*****
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容