安裝Charles代理

一、電腦防火牆打開,致使手機沒法打開安裝證書頁面。關閉防火牆後,出現可以抓到網址,可是狀態爲failed。app

二、抓到網址,可是請求均爲failed,須要在手機設置中信任證書:設置-通用-關於本機-證書信任設置,對該證書打開信任ide

三、Charles的註冊碼this

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

四、Charles配置blog

Proxy -> Access Control Settings -> 增長Ip範圍 0.0.0.0/0 【內部有提示介紹】ci

Proxy -> SSL Proxying Settings 增長  *:* 爲代理全部請求get

五、解決長期訪問不到下載證書頁面:2018-06-26it

將手機證書先卸載,電腦防火牆關閉,而後從新安裝軟件,安裝證書,在手機端訪問安裝。通用-描述文件-刪除。io

六、能抓到網址,可是內容解析不了cli

修改完各類配置後,從新安裝證書

七、網址發不出去,是由於啓用了白名單,而白名單中沒有這個地址

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

相關文章
相關標籤/搜索