diff options
| author | Rouli <rouli.net@gmail.com> | 2013-03-18 14:24:13 +0200 |
|---|---|---|
| committer | Rouli <rouli.net@gmail.com> | 2013-03-18 14:24:13 +0200 |
| commit | c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f (patch) | |
| tree | 1e62785d669d86f6e551a99b9debfe445389bd48 /doc-src/certinstall/android.html | |
| parent | b6cae7cd2d0105d6a6fe9d35864d0f9b7c5f8924 (diff) | |
| parent | 5c33f6784b4ba34dd9825ea7e3070cdf0b2b4621 (diff) | |
| download | mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.gz mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.bz2 mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc-src/certinstall/android.html')
| -rw-r--r-- | doc-src/certinstall/android.html | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/doc-src/certinstall/android.html b/doc-src/certinstall/android.html index 852938ce..e4efec1d 100644 --- a/doc-src/certinstall/android.html +++ b/doc-src/certinstall/android.html @@ -12,23 +12,21 @@ We used an Asus Transformer Prime TF201 with Android 4.0.3 in the examples below - your device may differ, but the broad process should be similar. -Installing the mitmproxy certificate -==================================== +## Getting the certificate onto the device -The first step is to install mitmproxy's interception certificate on the -Android device. In your ~/.mitmproxy directory, there is a file called -__mitmproxy-ca-cert.cer__ - we need to transfer this file to -__/sdcard/Downloads__ on the Android device. If this file doesn't exist for -you, your certs were generated with an older version of mitmproxy - just copy -the __mitmproxy-ca-cert.pem__ file to __mitmproxy-ca-cert.cer__ and proceed -from there. - -In this case, we're using wget from Better Terminal Emulator Pro to transfer -the certificate from a local HTTP server. Other terminal applications may work, -and you might also transfer the file via external media like an SDcard: +First we need to get the __mitmproxy-ca-cert.cer__ file into the +__/sdcard/Downloads__ folder on the device. There are a number of ways to do +this. If you have the Android Developer Tools installed, you can use [__adb +push__](http://developer.android.com/tools/help/adb.html) to accomplish this. +Depending on your device, you could also transfer the file using external media +like an SD Card. In this example, we're using wget from within a terminal +emulator to transfer the certificate from a local HTTP server: <img src="android-shellwgetmitmproxyca.png"/> + +## Installing the certificate + Once we have the certificate on the local disk, we need to import it into the list of trusted CAs. Go to Settings -> Security -> Credential Storage, and select "Install from storage": @@ -46,8 +44,3 @@ store: <img src="android-settingssecurityuserinstalledca.png"/> -If you're lucky enough to be working with an app that obeys the wireless proxy -settings, you're just about done - simply configure the settings to point at -mitmproxy. If not, proceed to the next step... - - |
