aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/certinstall
diff options
context:
space:
mode:
authorRouli <rouli.net@gmail.com>2013-03-18 14:24:13 +0200
committerRouli <rouli.net@gmail.com>2013-03-18 14:24:13 +0200
commitc94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f (patch)
tree1e62785d669d86f6e551a99b9debfe445389bd48 /doc-src/certinstall
parentb6cae7cd2d0105d6a6fe9d35864d0f9b7c5f8924 (diff)
parent5c33f6784b4ba34dd9825ea7e3070cdf0b2b4621 (diff)
downloadmitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.gz
mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.bz2
mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc-src/certinstall')
-rw-r--r--doc-src/certinstall/android.html29
-rw-r--r--doc-src/certinstall/firefox.html24
-rw-r--r--doc-src/certinstall/index.py1
-rw-r--r--doc-src/certinstall/ios-simulator.html23
-rw-r--r--doc-src/certinstall/ios.html19
-rw-r--r--doc-src/certinstall/osx.html13
-rw-r--r--doc-src/certinstall/windows7.html29
7 files changed, 89 insertions, 49 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 -&gt; Security -&gt; 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...
-
-
diff --git a/doc-src/certinstall/firefox.html b/doc-src/certinstall/firefox.html
index a107aebc..66fa9d79 100644
--- a/doc-src/certinstall/firefox.html
+++ b/doc-src/certinstall/firefox.html
@@ -1,19 +1,23 @@
How to install the __mitmproxy__ certificate authority in Firefox:
-### 1. If needed, copy the ~/.mitmproxy/mitmproxy-ca-cert.pem file to the target.
+<ol class="tlist">
+ <li> If needed, copy the ~/.mitmproxy/mitmproxy-ca-cert.pem file to the target. </li>
-### 2: Open preferences, click on "Advanced", then select"Encryption":
+ <li>Open preferences, click on "Advanced", then select"Encryption":
+ <img src="@!urlTo('firefox3.jpg')!@"/>
+ </li>
-<img src="@!urlTo('firefox3.jpg')!@"/>
+ <li> Click "View Certificates", "Import", and select the certificate file:
+ <img src="@!urlTo('firefox3-import.jpg')!@"/>
+ </li>
-### 3: Click "View Certificates", "Import", and select the certificate file:
+ <li>Tick "Trust this CS to identify web sites", and click "Ok":
+ <img src="@!urlTo('firefox3-trust.jpg')!@"/>
+ </li>
-<img src="@!urlTo('firefox3-import.jpg')!@"/>
+ <li> You should now see the mitmproxy certificate listed in the Authorities
+ tab.</li>
-### 4: Tick "Trust this CS to identify web sites", and click "Ok":
-
-<img src="@!urlTo('firefox3-trust.jpg')!@"/>
-
-You should now see the mitmproxy certificate listed in the Authorities tab.
+</ol>
diff --git a/doc-src/certinstall/index.py b/doc-src/certinstall/index.py
index 8ba3b7df..3f145fbc 100644
--- a/doc-src/certinstall/index.py
+++ b/doc-src/certinstall/index.py
@@ -5,5 +5,6 @@ pages = [
Page("osx.html", "OSX"),
Page("windows7.html", "Windows 7"),
Page("ios.html", "IOS"),
+ Page("ios-simulator.html", "IOS Simulator"),
Page("android.html", "Android"),
]
diff --git a/doc-src/certinstall/ios-simulator.html b/doc-src/certinstall/ios-simulator.html
new file mode 100644
index 00000000..9eb98108
--- /dev/null
+++ b/doc-src/certinstall/ios-simulator.html
@@ -0,0 +1,23 @@
+
+How to install the __mitmproxy__ certificate authority in the IOS simulator:
+
+<ol class="tlist">
+
+ <li> First, check out the <a
+ href="https://github.com/ADVTOOLS/ADVTrustStore">ADVTrustStore</a> tool
+ from github.</li>
+
+ <li> Now, run the following command:
+
+ <pre class="terminal">./iosCertTrustManager.py -a ~/.mitmproxy/mitmproxy-ca-cert.pem</pre>
+
+ </li>
+
+</ol>
+
+
+Note that although the IOS simulator has its own certificate store, it shares
+the proxy settings of the host operating system. You will therefore to have
+configure your OSX host's proxy settings to use the mitmproxy instance you want
+to test with.
+
diff --git a/doc-src/certinstall/ios.html b/doc-src/certinstall/ios.html
index d306dfc6..fd14e65a 100644
--- a/doc-src/certinstall/ios.html
+++ b/doc-src/certinstall/ios.html
@@ -1,18 +1,21 @@
How to install the __mitmproxy__ certificate authority on IOS devices:
-### 1: Set up the Mail app on the device to receive email.
+<ol class="tlist">
+ <li>Set up the Mail app on the device to receive email.</li>
-### 2: Mail the mitmproxy-ca-cert.pem file to the device, and tap on the attachment.
+ <li>Mail the mitmproxy-ca-cert.pem file to the device, and tap on the attachment.</li>
-### 3: You will be prompted to install a profile. Click "Install":
+ <li>You will be prompted to install a profile. Click "Install":
-<img src="@!urlTo('ios-profile.png')!@"/>
+ <img src="@!urlTo('ios-profile.png')!@"/></li>
-### 4: Accept the warning by clicking "Install" again:
+ <li>Accept the warning by clicking "Install" again:
-<img src="@!urlTo('ios-warning.png')!@"/>
+ <img src="@!urlTo('ios-warning.png')!@"/></li>
-### 5: The certificate should now be trusted:
+ <li>The certificate should now be trusted:
-<img src="@!urlTo('ios-installed.png')!@"/>
+ <img src="@!urlTo('ios-installed.png')!@"/></li>
+
+</ol>
diff --git a/doc-src/certinstall/osx.html b/doc-src/certinstall/osx.html
index 465ada43..a532d538 100644
--- a/doc-src/certinstall/osx.html
+++ b/doc-src/certinstall/osx.html
@@ -1,13 +1,16 @@
How to install the __mitmproxy__ certificate authority in OSX:
-### 1: Open Finder, and double-click on the mitmproxy-ca-cert.pem file.
+<ol class="tlist">
+ <li>Open Finder, and double-click on the mitmproxy-ca-cert.pem file.</li>
-### 2: You will be prompted to add the certificate. Click "Always Trust":
+ <li>You will be prompted to add the certificate. Click "Always Trust":
-<img src="@!urlTo('osx-addcert-alwaystrust.png')!@"/>
+ <img src="@!urlTo('osx-addcert-alwaystrust.png')!@"/>
+ </li>
-You may be prompted for your password. You should now see the mitmproxy cert
-listed under "Certificates".
+ <li> You may be prompted for your password. You should now see the
+ mitmproxy cert listed under "Certificates".</li>
+</ol>
diff --git a/doc-src/certinstall/windows7.html b/doc-src/certinstall/windows7.html
index 7c2bb3ef..47c807c6 100644
--- a/doc-src/certinstall/windows7.html
+++ b/doc-src/certinstall/windows7.html
@@ -1,19 +1,32 @@
How to install the __mitmproxy__ certificate authority in Windows 7:
-### 1: Copy the ~/.mitmproxy/mitmproxy-ca-cert.p12 file to the target system.
+<ol class="tlist">
-### 2: Double-click the certificate file. You should see a certificate import wizard:
+ <li> Copy the ~/.mitmproxy/mitmproxy-ca-cert.p12 file to the target system. </li>
-<img src="@!urlTo('win7-wizard.png')!@"/>
+ <li>
+ Double-click the certificate file. You should see a certificate import wizard:
-### 3: Click "Next" until you're prompted for the certificate store:
+ <img src="@!urlTo('win7-wizard.png')!@"/>
+ </li>
-<img src="@!urlTo('win7-certstore.png')!@"/>
+ <li>
+ Click "Next" until you're prompted for the certificate store:
-### 4: Select "Place all certificates in the following store", and select "Trusted Root Certification Authorities":
+ <img src="@!urlTo('win7-certstore.png')!@"/>
-<img src="@!urlTo('win7-certstore-trustedroot.png')!@"/>
+ </li>
-### 5: Click "Next" and "Finish".
+
+ <li>
+ <p>Select "Place all certificates in the following store", and select "Trusted Root Certification Authorities":</p>
+
+ <img src="@!urlTo('win7-certstore-trustedroot.png')!@"/>
+
+ </li>
+
+ <li> Click "Next" and "Finish". </li>
+
+</ol>