51j0 / Android-TrustCertificate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt text

Android-TrustCertificate

v0.1-alpha

Install Custom CA as a system-level trusted CA

root@51j0 openssl x509 -inform DER -in cacert.der -out cacert.pem
root@51j0 openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1
root@51j0 mv cacert.pem <hash>.0  

root@51j0 adb root   #Optional
root@51j0 adb remount #Optional
root@51j0 adb shell
root@51j0 su
root@51j0 adb push <cert>.0 /sdcard/
root@51j0 mount -o rw,remount /system
root@51j0 mv /sdcard/<cert>.0 /system/etc/security/cacerts/
root@51j0 chmod 644 /system/etc/security/cacerts/<cert>.0  
root@51j0 mount -o ro,remount /system

alt text

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

About