已经装过windows证书了
C:\Users\administrator.mitmproxy
复制文件mitmproxy-ca-cert.pem,重命名为c8750f0d.0
雷电模拟器设置

发现没权限
C:\Users\xy003\.mitmproxy>adb push c8750f0d.0 /system/etc/security/cacerts
c8750f0d.0: 1 file pushed, 0 skipped. 3.2 MB/s (1172 bytes in 0.000s)
adb: error: failed to copy 'c8750f0d.0' to '/system/etc/security/cacerts/c8750f0d.0': remote couldn't create file: Read-only file system
重新挂载
C:\Users\xy003\.mitmproxy>adb root
restarting adbd as rootC:\Users\xy003\.mitmproxy>adb remount
remount succeededC:\Users\xy003\.mitmproxy>adb push c8750f0d.0 /system/etc/security/cacerts/
c8750f0d.0: 1 file pushed, 0 skipped. 4.2 MB/s (1172 bytes in 0.000s)
adb push . \c8750f0d.0 /system/etc/security/cacerts
参考 https://blog.csdn.net/weixin_45541986/article/details/128100893