How to install the __mitmproxy__ certificate authority in Windows 7:
  1. The easiest way to get the certificate to the device is to use the web app. If this fails for some reason, simply copy the ~/.mitmproxy/mitmproxy-ca-cert.p12 file to the target system and double-click it.
  2. You should see a certificate import wizard:
  3. Click "Next" until you're prompted for the certificate store:
  4. Select "Place all certificates in the following store", and select "Trusted Root Certification Authorities":

  5. Click "Next" and "Finish".