1. 電腦證書信任
-
安裝:
客戶端help->SSL Proxying->install Charles Root Certificate -
信任:
在鑰匙串中找到Charles Proxy CA這個證書,信任它
2. 手機(jī)證書信任
-
安裝:
客戶端help->SSL Proxying->install Charles Root Certificate on a Mobile Device or Remote Browser,顯示“Configure your device to use Charles as its HTTP proxy on 192.168.2.1:8888, then browse to chls.pro/ssl to download and install the certificate.”,在手機(jī)瀏覽器上輸入“chls.pro/ssl”去下載證書并安裝
3. 客戶端設(shè)置
1)使用代理設(shè)置
- 點(diǎn)擊Proxy->Proxy Settings
- 勾選 Enable tranaparent HTTP proxying
- 勾選 Enable SOCKS proxy
2)抓取端口設(shè)置
- 點(diǎn)擊Proxy->SSL Proxy Settings
- 勾選Enable SSL Proxying
- 點(diǎn)擊Add,添加抓取端口(*:443默認(rèn)為全部端口)