2014-01-28 00:24:11 +00:00
|
|
|
## Get the certificate to the browser
|
|
|
|
|
|
|
|
The easiest way to get the certificate to the browser is to use [the web
|
|
|
|
app](@!urlTo("webapp.html")!@). If this fails, do the following:
|
2014-01-27 01:16:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
<ol class="tlist">
|
|
|
|
<li> If needed, copy the ~/.mitmproxy/mitmproxy-ca-cert.pem file to the target. </li>
|
|
|
|
|
2014-04-10 11:31:54 +00:00
|
|
|
<li>Open preferences, click on "Advanced", then select"Certificates":
|
2014-01-27 01:16:23 +00:00
|
|
|
<img src="@!urlTo('firefox3.jpg')!@"/>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Click "View Certificates", "Import", and select the certificate file:
|
|
|
|
<img src="@!urlTo('firefox3-import.jpg')!@"/>
|
|
|
|
</li>
|
|
|
|
|
2014-01-28 00:24:11 +00:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
|
|
|
|
## Installing the certificate
|
|
|
|
|
|
|
|
<ol class="tlist">
|
2014-04-10 11:31:54 +00:00
|
|
|
<li>Tick "Trust this CA to identify web sites", and click "Ok":
|
2014-01-27 01:16:23 +00:00
|
|
|
<img src="@!urlTo('firefox3-trust.jpg')!@"/>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> You should now see the mitmproxy certificate listed in the Authorities
|
|
|
|
tab.</li>
|
|
|
|
</ol>
|
|
|
|
|