Skip to content

Instantly share code, notes, and snippets.

@interference-security
Last active February 23, 2020 05:00
Show Gist options
  • Save interference-security/86274db35deb3e1c997c2f091509e8ee to your computer and use it in GitHub Desktop.
Save interference-security/86274db35deb3e1c997c2f091509e8ee to your computer and use it in GitHub Desktop.
Install BurpSuite SSL Certificate on Android System Level

Source: https://blog.ropnop.com/configuring-burp-suite-with-android-nougat/

openssl x509 -inform DER -in cacert.der -out cacert.pem
openssl x509 -inform PEM -subject_hash_old -in cacert.pem | head -1
mv cacert.pem <hash>.0  
adb push <hash>.0 /sdcard/Download/  
adb shell
  su  
  mount -o rw,remount /system  
  mv /sdcard/Download/<cert>.0 /system/etc/security/cacerts/  
  chmod 644 /system/etc/security/cacerts/<cert>.0  
  reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment