Skip to content

Commit

Permalink
docs(Readme):补充移动用户安装证书的使用说明
Browse files Browse the repository at this point in the history
  • Loading branch information
ys1231 committed Jun 6, 2023
1 parent a48d83b commit c56af89
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ https://github.com/Magisk-Modules-Repo/movecert
1. 添加用户安装的证书移动到系统证书的功能
2. 附带下面的自己计算证书名更好的支持系统证书
# 使用方法

## 移动用户安装的证书到系统证书目录

1. 安装抓包的证书之后直接重启即可,需要注意的是最新版chrome 即使正确安装系统证书也会校验失败可更换其它浏览器.

## 手动直接安装证书到系统证书目录

1. 导出抓包软件证书 转换 证书为 pem 格式
2. `adb shell "mkdir -p /data/local/tmp/crt"`
3. 获取证书hash
Expand All @@ -25,7 +32,7 @@ openssl x509 -inform PEM -subject_hash -in cacert.pem
4. 手动修改证书(pem格式证书)文件名为`02e06844.0`
5. `mkdir /data/local/tmp/crt` 这个crt目录需要自己创建
6. `adb push 02e06844.0 /data/local/tmp/crt/`
7. 证书推到手机后,重启即可生效.
7. 证书推到手机后,重启即可生效,其实是移动到magisk挂在的目录.

# 补充 证书转换 der to pem

Expand Down

0 comments on commit c56af89

Please sign in to comment.