|
1 | 1 | # Copy Certificates
|
2 | 2 |
|
3 |
| -Based on [Move Certificates](https://github.com/Magisk-Modules-Repo/movecert). Copies certificates |
4 |
| -from the user certificate store to the system store, while also forcing Chrome on the Zygisk |
5 |
| -denylist. This way Chrome still sees the custom certificates in the user store, while other apps see |
6 |
| -them in the system store. Useful since Chrome started requiring CT logs for all certs in the system |
7 |
| -store. |
| 3 | +Based on [Move Certificates](https://github.com/Magisk-Modules-Repo/movecert). |
| 4 | + |
| 5 | +Chrome recently started requiring CT logs for CA certs found in the system store. |
| 6 | +This module copies AdGuard's CA certificate from the user store to the system store. |
| 7 | +It also contains a Zygisk module that "hides" any modifications done by Magisk from |
| 8 | +Chrome's processes. This way Chrome only finds AdGuard's certificate in the user store |
| 9 | +and doesn't complain about the missing CT log, while other apps continue to use the |
| 10 | +same certificate from the system store. |
| 11 | + |
| 12 | +# Usage |
| 13 | +1. Enable HTTPS filtering and save/install AdGuard's certificate to the user store. |
| 14 | +2. Enable Magisk->Settings->Zygisk. |
| 15 | +3. Download the zip file from releases. |
| 16 | +4. Go to Magisk->Modules->Install from storage and select the downloaded zip file. |
| 17 | +5. Reboot. |
8 | 18 |
|
9 | 19 | # Building
|
10 | 20 |
|
11 | 21 | Update git modules:
|
12 |
| -``` |
| 22 | +```shell |
13 | 23 | git submodule init && git submodule update
|
14 | 24 | ```
|
15 | 25 |
|
16 |
| -You'll need Android SDK with NDK v23.1.7779620. Run: |
| 26 | +You'll need an Android SDK with NDK version 23.1.7779620. Run: |
17 | 27 |
|
18 | 28 | ```shell
|
19 | 29 | ANDROID_SDK=<path-to-android-sdk> ./dist.sh
|
20 | 30 | ```
|
21 | 31 |
|
22 | 32 | If you prefer to manage your Zygisk denylist yourself, simply remove the Zygisk part of the module:
|
23 | 33 | ```shell
|
24 |
| -zip CopyCert-v1.0.zip -d "zygisk/*" |
| 34 | +zip adguardcert-v1.0.zip -d "zygisk/*" |
25 | 35 | ```
|
0 commit comments