Android package capture certificate problem solving (fiddler)
1. Locally set the fiddler certificate to a certificate issued by a trusted root certificate issuing authority
1. Trust the root certificate
2. Export the root certificate to the desktop, the default is a .CRT (DER format) certificate file
3. Import the certificate into the trusted root certification authority of the browser
2. Certificate format conversion: DER format to PEM
openssl x509 -inform DER -in fiddler.crt -outform PEM -out fiddler.pem
openssl x509 -subject_hash_old -in fiddler.pem
--->>>269953fb
openssl x509 -inform PEM -in fiddler.pem -out 269953fb.0
3. Certificate import
adb root
adb remount
adb push 269953fb.0 /system/etc/security/cacerts/269953fb.0
adb shell
cd /system/etc/security/cacerts
ls -alh 269953fb.0
chmod 644 269953fb.0
reboot