Skip to content

Instantly share code, notes, and snippets.

@PaulSec
Created February 16, 2015 19:40
Show Gist options
  • Star 26 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save PaulSec/dab5d25573d7f2d7da18 to your computer and use it in GitHub Desktop.
Save PaulSec/dab5d25573d7f2d7da18 to your computer and use it in GitHub Desktop.
Add your Burp certificate on an Android device
To do so:
1. Export your Burp Certificate
Proxy > Options > CA Certificate > Export in DER format
2. Convert it to PEM
openssl x509 -inform der -in cacert.der -out burp.pem
3. Download it on the device
4. Use Certificate Installer to install the certificate
The Android app can be found [here](https://play.google.com/store/apps/details?id=it.nicola_amatucci.android.certificate_installer)
5. Enjoy :)
@exengineer1
Copy link

From Android nougat just rename doesn't work

@drygdryg
Copy link

drygdryg commented Aug 2, 2020

Additional for Android Android 7.0 (Nougat) and above (requeires root access):
rename certificate:
mv burp.pem $(openssl x509 -inform PEM -subject_hash_old -in burp.pem | head -1)".0"
and move the result file to /system/etc/security/cacerts/ (for example, using Total Commander).

@LuckyArdhika
Copy link

Thanks bro, it works

@durori
Copy link

durori commented Mar 8, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment