

$ adb shell "su 0 chmod 644 /data/misc/user/0/cacerts-added/$subjectHash.0" $subjectHash.0 /data/misc/user/0/cacerts-added/$subjectHash.0

$ openssl x509 -in my-certificate.pem -inform PEM -outform DER -out $subjectHash.0 $ subjectHash=`openssl x509 -inform PEM -subject_hash_old -in my-certificate.pem | head -n 1` You can automatically achieve it by using the following commmands: # 1.

