Skip to content

Instantly share code, notes, and snippets.

@Manouchehri
Last active November 25, 2021 21:54
Show Gist options
  • Save Manouchehri/aa24461788734a9b133dcd46a77018ac to your computer and use it in GitHub Desktop.
Save Manouchehri/aa24461788734a9b133dcd46a77018ac to your computer and use it in GitHub Desktop.
# This will disable all trusted CAs on Android
find /system/etc/security/cacerts -type f -exec cp -vn {} /data/misc/user/0/cacerts-removed/ \;
mount --bind /data/misc/user/0/cacerts-added /system/etc/security/cacerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment