2011-02-19 06:43:44 +00:00
|
|
|
|
2013-03-16 21:35:40 +00:00
|
|
|
The first time __mitmproxy__ or __mitmdump__ is run, a set of certificate files
|
|
|
|
for the mitmproxy Certificate Authority are created in the config directory
|
|
|
|
(~/.mitmproxy by default). The files are as follows:
|
2011-03-18 04:53:00 +00:00
|
|
|
|
2013-03-10 22:49:36 +00:00
|
|
|
<table class="table">
|
2011-03-18 04:53:00 +00:00
|
|
|
<tr>
|
2013-03-16 21:35:40 +00:00
|
|
|
<td class="nowrap">mitmproxy-ca.pem</td>
|
2011-03-18 04:53:00 +00:00
|
|
|
<td>The private key and certificate in PEM format.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-03-16 21:35:40 +00:00
|
|
|
<td class="nowrap">mitmproxy-ca-cert.pem</td>
|
2011-03-18 22:26:51 +00:00
|
|
|
<td>The certificate in PEM format. Use this to distribute to most
|
2011-03-18 04:53:00 +00:00
|
|
|
non-Windows platforms.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-03-16 21:35:40 +00:00
|
|
|
<td class="nowrap">mitmproxy-ca-cert.p12</td>
|
2011-03-18 22:26:51 +00:00
|
|
|
<td>The certificate in PKCS12 format. For use on Windows.</td>
|
2011-03-18 04:53:00 +00:00
|
|
|
</tr>
|
2013-03-10 22:49:36 +00:00
|
|
|
<tr>
|
2013-03-16 21:35:40 +00:00
|
|
|
<td class="nowrap">mitmproxy-ca-cert.cer</td>
|
2013-03-10 22:49:36 +00:00
|
|
|
<td>Same file as .pem, but with an extension expected by some Android
|
|
|
|
devices.</td>
|
|
|
|
</tr>
|
2011-03-18 04:53:00 +00:00
|
|
|
</table>
|
|
|
|
|
2011-03-18 22:26:51 +00:00
|
|
|
This CA is used for on-the-fly generation of dummy certificates for SSL
|
|
|
|
interception. Since your browser won't trust the __mitmproxy__ CA out of the
|
|
|
|
box (and rightly so), you will see an SSL cert warning every time you visit a
|
|
|
|
new SSL domain through __mitmproxy__. When you're testing a single site through
|
|
|
|
a browser, just accepting the bogus SSL cert manually is not too much trouble,
|
2013-03-16 21:35:40 +00:00
|
|
|
but there are a many circumstances where you will want to configure your
|
|
|
|
testing system or browser to trust the __mitmproxy__ CA as a signing root
|
|
|
|
authority.
|
2011-03-15 22:09:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
Installing the mitmproxy CA
|
2011-03-19 06:47:19 +00:00
|
|
|
---------------------------
|
2011-03-15 22:09:10 +00:00
|
|
|
|
2011-03-18 22:26:51 +00:00
|
|
|
* [Firefox](@!urlTo("certinstall/firefox.html")!@)
|
|
|
|
* [OSX](@!urlTo("certinstall/osx.html")!@)
|
|
|
|
* [Windows 7](@!urlTo("certinstall/windows7.html")!@)
|
|
|
|
* [iPhone/iPad](@!urlTo("certinstall/ios.html")!@)
|
2013-03-16 21:35:40 +00:00
|
|
|
* [IOS Simulator](@!urlTo("certinstall/ios-simulator.html")!@)
|
2011-03-17 20:04:49 +00:00
|
|
|
|