NVISOsecurity / MagiskTrustUserCerts

A Magisk/KernelSU module that automatically adds user certificates to the system root CA store
1.63k stars 190 forks source link

[ASK] How to remove existing certificates added by magisk ? #3

Closed David-Kurniawan closed 2 years ago

TheDauntless commented 5 years ago

You can remove it as the su user if you go to the following directory:

/magisk/trustusercerts/system/etc/security/cacerts/

I'll also update the module to automatically keep it in sync with the user certificate directory.

David-Kurniawan commented 5 years ago

Hi, thank you for your work!

1 more, i don't know what the name of my certificates added by me. This using unique name.

TheDauntless commented 5 years ago

You should be able to find it through the Android settings. On my nexus 5, it's:

Settings > Security > Trusted credentials > User

You can then click on one and remove it, after which it will be removed by the module from the system store after the next reboot (v0.3+).

You can also go to the folder I mentioned earlier and use cat to view the contents. It won't all be readable, but you should be able to figure out the name.