- Export the CA certificate: Proxy -> Options -> Import / Export CA certificate -> Export certificate in DER format
- Prepare the certificate in the correct format:
openssl x509 -in cacert.der -inform DER -outform PEM >> "$(openssl x509 -inform DER -in cacert.der -subject_hash | head -1).0"
openssl x509 -in cacert.der -inform DER -text -noout >> "$(openssl x509 -inform DER -in cacert.der -subject_hash | head -1).0"
- Copy the certificate into
/etc/security/cacerts
:- On the machine shell:
- On the machine shell:
adb push xxxxxxxx.0 /sdcard/