Install Burpsuite’s or any CA certificate to system store in Android 10,11 and Kali linux.

What is the need to Install certificates in System Trust Store?

An example network-security-config.xml file which trusts the user trust store

Please Note: Certificate installed by this method is not persistent. As we are not making any changes to /system partition in real. Android 10 and above does not allow to make changes to it. So we can not mount it as read/write. This is the core reason we have shifted to magisk from SuperSU. Magisk is installed in boot partition without touching /system. Read more about this @

openssl x509 -inform PEM -subject_hash_old -in burp.cer | head -n -1

$ adb shell
$ su
# whoami
mkdir -m 700 /wherever/you/want
cp /system/etc/security/cacerts/* /wherever/you/want/
mount -t tmpfs tmpfs /system/etc/security/cacerts
mv /wherever/you/want/* /system/etc/security/cacerts/
mv /path/to/cert/hash.0 /system/etc/security/cacerts/ 
chown root:root /system/etc/security/cacerts/*
chmod 644 /system/etc/security/cacerts/*
chcon u:object_r:system_file:s0 /system/etc/security/cacerts/*
openssl x509 -in cacert.der -inform DER -out burp.crt
mv burp.crt /usr/local/share/ca-certificates/extra/
sudo update-ca-certificates
proxychains curl



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store