Hi ! In android devices there are two CA stores i.e., system store and user store
- system store path: /system/etc/security/cacerts
- user store path: /data/misc/user/0/cacerts-added
Usually, the certificates such as FiddlerRoot cert that are installed by the user, are saved in the user store. Sometimes, the user installed certificates may not be trusted by the applications. Hence, you may want to move them into the system store.
You can follow the following steps to do that.
- Check the user store
adb shell cd /data/misc/user/0/cacerts-added ls
- Mount the system directory to enable read/write capability
adb shell ja3gxx:/system/etc/security/cacerts # su ja3gxx:/ # mount -o rw,remount /system
- Move the required user installed Cert to system store
1|ja3gxx:/data/misc/user/0/cacerts-added # mv e5c3944b.0 /system/etc/security/cacerts
Cheers ! 🙂