1、電腦端安裝SSL證書
2、手機端安裝SSL證書
證書下載地址:https://www.charlesproxy.com/documentation/additional/legacy-ssl-proxying/
具體鏈接:https://www.charlesproxy.com/assets/legacy-ssl/charles.crt
我測試使用的是IOS的系統,直接Safari打開後按照提升安裝描述文件即可。
3、進行相關的配置
選擇Proxy | Proxy Settings,彈出proxy設置選項卡,勾選Enabling transparent HTTP proxying
勾選Enable SSL Proxying,在Location部份選擇add,按如下圖添加,抓取任意站點、443端口的數據
最後在手機上設置代理地址即可