How to install Certification authority (CA) certificates on Android.

- Download and place it on $JAVA_HOME/jre/lib/ext/
- download cacerts.bks from android
- import certificates to cacerts.bks
- upload to android

cd /usr/lib/jvm/java-6-openjdk/jre/lib/ext/
wget ''

cd /tmp
adb pull /system/etc/security/cacerts.bks cacerts.bks

keytool -keystore cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storepass changeit -importcert -trustcacerts -alias CACERT -file root.crt

adb shell mount -o remount,rw /system
adb push cacerts.bks /system/etc/security/
adb shell mount -o remount,ro /system

more details:

Leave a Reply

To prove that you're not a bot, enter this code
Anti-Spam Image

Subscribe without commenting