aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-01-27 14:45:20 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-01-27 14:45:20 +1300
commit784f411273c4b09797529822e336ce34fa8d1f23 (patch)
tree3b91090bda596595f5dd0c7216205af3de5f8307
parent2df321e71bb4f7bd240d889b05467e5ce13012f6 (diff)
downloadmitmproxy-784f411273c4b09797529822e336ce34fa8d1f23.tar.gz
mitmproxy-784f411273c4b09797529822e336ce34fa8d1f23.tar.bz2
mitmproxy-784f411273c4b09797529822e336ce34fa8d1f23.zip
Instructions for adding mitmproxy certificates to the Java trust store.
Fixes #146
-rw-r--r--doc-src/_nav.html1
-rw-r--r--doc-src/certinstall/index.py1
-rw-r--r--doc-src/certinstall/java.html13
3 files changed, 15 insertions, 0 deletions
diff --git a/doc-src/_nav.html b/doc-src/_nav.html
index b256f47f..6dfbaba5 100644
--- a/doc-src/_nav.html
+++ b/doc-src/_nav.html
@@ -26,6 +26,7 @@
$!nav("certinstall/firefox.html", this, state)!$
$!nav("certinstall/ios.html", this, state)!$
$!nav("certinstall/ios-simulator.html", this, state)!$
+ $!nav("certinstall/java.html", this, state)!$
$!nav("certinstall/osx.html", this, state)!$
$!nav("certinstall/windows7.html", this, state)!$
diff --git a/doc-src/certinstall/index.py b/doc-src/certinstall/index.py
index 3f145fbc..ebdc730f 100644
--- a/doc-src/certinstall/index.py
+++ b/doc-src/certinstall/index.py
@@ -7,4 +7,5 @@ pages = [
Page("ios.html", "IOS"),
Page("ios-simulator.html", "IOS Simulator"),
Page("android.html", "Android"),
+ Page("java.html", "Java"),
]
diff --git a/doc-src/certinstall/java.html b/doc-src/certinstall/java.html
new file mode 100644
index 00000000..f6420991
--- /dev/null
+++ b/doc-src/certinstall/java.html
@@ -0,0 +1,13 @@
+
+You can add the mitmproxy certificates to the Java trust store using
+[keytool](http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/keytool.html).
+On OSX, the required command looks like this:
+
+<pre class="terminal">
+sudo keytool -importcert -alias mitmproxy -storepass "password" \
+-keystore /System/Library/Java/Support/CoreDeploy.bundle/Contents/Home/lib/security/cacerts \
+-trustcacerts -file ~/.mitmproxy/mitmproxy-ca-cert.pem
+</pre>
+
+Note that your store password will (hopefully) be different from the one above.
+