aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/certinstall/java.html
blob: f64209910bf7498d95687a2027c4881d0d85d15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.