Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 968 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 968 Bytes

Usage

Generate the certificate

make

Update /etc/hosts

The following scripts will update /etc/hosts and setup a reverse proxy.

./install.sh
./reverse.sh

Install certificate

Use nopasswd as the password when prompted.

make
adb push /certs/root.pfx /sdcard/Downloads

Install certs/root.pfx on device via UI by going to Settings > Security under the Credential Storage section click Install from Storage and navigate to the Downloads folder. Use nopasswd to install the CA.

Finally test1.example.com may pe installed in NGINX.

Uninstall changes

install restore

Test with wget

adb shell /data/local/tmp/busybox wget -c -P /data/local/tmp -S https://test1.test.local:8443

Installing the certificate from the gui will likely install the certificate in this path: /data/misc/keystore/user_0/*. Where is will be broken up into CACERT, USRCERT, USRPKEY parts.