The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Installing Burp's CA Certificate in an Headless Android Emulator

Chhagan | Last updated: Apr 09, 2015 09:40AM UTC

Hi, I am using an headless android emulator with API leve 19 on amazon ec2 ubuntu instance. Can you please with installing Burp's CA certificate in an headless android emulator ? Thanks, Chhagan Mathuriya

PortSwigger Agent | Last updated: Apr 14, 2015 08:10AM UTC

We have no direct experience ourselves of installing a CA certificate in a headless Android emulator, sorry. Does the emulator include any documentation about where the SSL trust store lives, and how you can manually add CA certificates to it?

Burp User | Last updated: Jul 28, 2015 05:38AM UTC

I got the solution to place certificate using adb shell script as below: Make the /system folder writable (will return to read-only upon reboot): mount -o remount,rw /system Copy the new certificate files to the correct folder on your Android device: cp /sdcard/5ed36f99.0 /system/etc/security/cacerts/ cp /sdcard/e5662767.0 /system/etc/security/cacerts/ Correct the file permissions to u=rw, g=r, o=r: cd /system/etc/security/cacerts/ chmod 644 5ed36f99.0 chmod 644 e5662767.0 Check if the files are ok: ls -al -Z Omit '-Z' if you are using a version of Android without SElinux, it just shows some extra security settings which might be useful if you run into trouble. Amongst the other default android certificate files, you will see the two new files: -rw-r--r-- root root u:object_r:system_file:s0 5ed36f99.0 -rw-r--r-- root root u:object_r:system_file:s0 e5662767.0

Liam, PortSwigger Agent | Last updated: Jul 28, 2015 07:57AM UTC