Android package capture certificate problem solving (fiddler)

Android package capture certificate problem solving (fiddler)

insert image description here

1. Locally set the fiddler certificate to a certificate issued by a trusted root certificate issuing authority

1. Trust the root certificate
insert image description here
2. Export the root certificate to the desktop, the default is a .CRT (DER format) certificate file
Export the root certificate to the desktop
3. Import the certificate into the trusted root certification authority of the browser
browser settings
management certificate
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

Guess you like

Origin blog.csdn.net/dakhda/article/details/131270409