安装Charles代理

1、电脑防火墙打开,导致手机无法打开安装证书页面。关闭防火墙后,出现能够抓到网址,但是状态为failed。

2、抓到网址,但是请求均为failed,需要在手机设置中信任证书:设置-通用-关于本机-证书信任设置,对该证书打开信任

3、Charles的注册码

Registered Name:   https://zhile.io
License Key:   48891cf209c6d32bf4

4、Charles配置

Proxy -> Access Control Settings -> 增加Ip范围 0.0.0.0/0 【内部有提示介绍】

Proxy -> SSL Proxying Settings 增加  *:* 为代理所有请求

5、解决长期访问不到下载证书页面:2018-06-26

将手机证书先卸载,电脑防火墙关闭,然后重新安装软件,安装证书,在手机端访问安装。通用-描述文件-删除。

6、能抓到网址,但是内容解析不了

修改完各种配置后,重新安装证书

7、网址发不出去,是因为启用了白名单,而白名单中没有这个地址

By default, all hosts are whitelisted. If you whitelist one particuliar host (eg. right-click on it in the log and click "White List"), this default behaviour will not longer be applied and you will have to decide for each host whether you wish to whitelist them or not. A solution to your problem would be to go to the "Tools" menu > "White List" and change the "Blocking action" rule to something else than "Drop connection". Charles Proxy White List Settings

posted on 2018-04-28 09:43  泽口靖子  阅读(215)  评论(0编辑  收藏  举报

导航