How to install the __mitmproxy__ certificate authority in OSX:
  1. Open Finder, and double-click on the mitmproxy-ca-cert.pem file.
  2. You will be prompted to add the certificate. Click "Always Trust":
  3. You may be prompted for your password. You should now see the mitmproxy cert listed under "Certificates".