基本情況參考此帖:Charles 安卓抓包 unknown 和證書無效的解決方案(無需改代碼)_client ssl handshake failed: an unknown issue occu-CSDN博客
- 此解決方案僅適用于已root設(shè)備
- 默認(rèn)已經(jīng)在電腦上安裝并配置了Charles,安卓手機(jī)也下載并安裝了證書
-
因為用ES文件瀏覽器復(fù)制證書(已獲取root權(quán)限)失敗,所以使用adb將文件移動到了目錄?/system/etc/security/cacerts 下
adb disable-verity
adb reboot
adb root?
adb remount文章來源:http://www.zghlxwxcb.cn/news/detail-818715.html
adb push 【證書文件】??/system/etc/security/cacerts文章來源地址http://www.zghlxwxcb.cn/news/detail-818715.html
到了這里,關(guān)于Charles將證書安裝到系統(tǒng)的方法(adb)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!