hash=$(openssl x509 -inform PEM -subject_hash_old -in charles-ssl-proxying-certificate.pem | head -1)
mv charles-ssl-proxying-certificate.pem "$hash.0"
echo "Download magisk"
wget https://github.com/topjohnwu/magisk-module-template/archive/1400.zip
echo "Put $hash.0 into /system/etc/security/cacerts/"
echo "chmod 644 the file"
echo "zip into module and install"
Created
November 21, 2017 21:53
-
-
Save krokofant/244a5f9bae0090af5fe22d82119be2c8 to your computer and use it in GitHub Desktop.
Certificate installation as system with the use of Magisk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment