diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-01-22 13:33:02 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-01-22 13:33:02 +1300 |
commit | 8f88fcedd601c0033b4469b66626a83011879baf (patch) | |
tree | 878b2c737f2483f52e7c222541483773af1c152a /doc-src/certinstall/android.html | |
parent | 7ddc941116852b191d80643af70af90a6fd8849c (diff) | |
download | mitmproxy-8f88fcedd601c0033b4469b66626a83011879baf.tar.gz mitmproxy-8f88fcedd601c0033b4469b66626a83011879baf.tar.bz2 mitmproxy-8f88fcedd601c0033b4469b66626a83011879baf.zip |
Move the doc tree out into its own repo.
Diffstat (limited to 'doc-src/certinstall/android.html')
-rw-r--r-- | doc-src/certinstall/android.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/doc-src/certinstall/android.html b/doc-src/certinstall/android.html deleted file mode 100644 index 9b0c5d71..00000000 --- a/doc-src/certinstall/android.html +++ /dev/null @@ -1,45 +0,0 @@ -The proxy situation on Android is [an -embarrasment](http://code.google.com/p/android/issues/detail?id=1273). It's -scarcely credible, but Android didn't have a global proxy setting at all until -quite recently, and it's still not supported on many common Android versions. -In the meantime the app ecosystem has grown used to life without this basic -necessity, and many apps merrily ignore it even if it's there. This situation -is improving, but in many circumstances using [transparent -mode](@!urlTo("transparent.html")!@) is mandatory for testing Android apps. - -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. - - -## Getting the certificate onto the device - -First we need to get the __mitmproxy-ca-cert.cer__ file into the -__/sdcard__ folder on the device (/sdcard/Download on older devices). 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": - -<img src="android-settingssecuritymenu.png"/> - -The certificate in /sdcard is automatically located and offered for -installation. Installing the cert will delete the download file from the local -disk: - -<img src="android-settingssecurityinstallca.png"/> - -Afterwards, you should see the certificate listed in the Trusted Credentials -store: - -<img src="android-settingssecurityuserinstalledca.png"/> - |