-
-
Save iMushlih/761938173e2dd46ee0b092cbbdc6f6a9 to your computer and use it in GitHub Desktop.
Convert burp.pem to Android certificate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openssl x509 -inform der -in ca.der -out burp.pem | |
| name=$(openssl x509 -inform PEM -subject_hash_old -in burp.pem | head -1) | |
| cp burp.pem "$name.0" | |
| rm burp.pem | |
| echo "[~] Run using adb: adb push $name.0 /system/etc/security/cacerts/$name.0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment