aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/certinstall/java.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-01-28 17:29:28 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-01-28 17:29:28 +0100
commit1e3e0dd1271afda59ec244b64391b6579a998dce (patch)
tree5f1f617ccc8ea2b29650c10197407b1d3ecb7139 /doc-src/certinstall/java.html
parent17f09aa0afe9695505b746c370e1c5b889c19058 (diff)
parent3aa78f9ff38471f84a471618e1a43ca02fc65b6a (diff)
downloadmitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.tar.gz
mitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.tar.bz2
mitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.zip
merge master
Diffstat (limited to 'doc-src/certinstall/java.html')
-rw-r--r--doc-src/certinstall/java.html13
1 files changed, 13 insertions, 0 deletions
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.
+