美文网首页
网络请求分析工具Charles

网络请求分析工具Charles

作者: sylcrq | 来源:发表于2016-07-09 19:46 被阅读17次

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一栏填*****

相关文章

网友评论

      本文标题:网络请求分析工具Charles

      本文链接:https://www.haomeiwen.com/subject/kstdjttx.html