Created
September 28, 2020 08:01
-
-
Save BitTheByte/e40cc3100d8b07c162eee420caee5a45 to your computer and use it in GitHub Desktop.
Convert burp.pem to Android certificate
This file contains 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