From 784f411273c4b09797529822e336ce34fa8d1f23 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 27 Jan 2014 14:45:20 +1300 Subject: Instructions for adding mitmproxy certificates to the Java trust store. Fixes #146 --- doc-src/certinstall/java.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc-src/certinstall/java.html (limited to 'doc-src/certinstall/java.html') 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: + +
+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
+
+ +Note that your store password will (hopefully) be different from the one above. + -- cgit v1.2.3