Closed sailei1 closed 5 years ago
openssl x509 -inform PEM -subject_hash -in charles-proxy-ssl-proxying-certificate.pem | head -1
925d60ef
cat charles-proxy-ssl-proxying-certificate.pem > 925d60ef.0
openssl x509 -inform PEM -text -in charles-proxy-ssl-proxying-certificate.pem -out /dev/null >> 925d60ef.0
925d60ef.0.crt
// 必须root 才行 adb push 820571b0.0 /system/etc/security/cacerts/ adb shell cd /system/etc/security/cacerts/ chmod 644 820571b0.0
第一步# 在Proxy Settings - Proxies HTTP Proxy中勾选Enable transparent HTTP proxying
第二步# 手机浏览器打开http://chls.pro/ssl ,下载证书文件,然后将下载到的证书文件发送给电脑
第三步#
第四步 手机上查看证书文件
用chrome 或者webview 抓包