Iām trying to use mitmproxy in a Rails 4.2.8 application, and was able to brew install mitmproxy successfully!
However, following the Certificates: Quick Setup, Iāve hit a brick wall. Iām assuming that the just start mitmproxy directive means to run the mitmproxy command in the Terminal application. If so, I have successfully done that and see āFlowsā, ā[0/0]ā and ā[*:8080]ā.
How do I now: āconfigure your target device with the correct proxy settingsā? Am I supposed to configure these settings on my Mac, in my browser, or in my Rails application? What should these settings be? Does anyone have an example they can share?
Thanks for the heads-up regarding the Mac link - weāll get that fixed. What exactly are you trying to achieve? View all requests hitting your Rails application, or see all HTTP requests made by your rails application?
Iām trying to write feature specs for my application using Authorize.Netās Accept.js, which accepts credit card information for transactions. I think I need to see the HTTP requests and responses so that I can effectively mock/stub in my tests. Am I on the right path using mitmproxy?
In case anyone else comes across this, here are the steps I used to successfully get the proxy working for Mac + iOS. The docs really need to be updated from the current āinstallation left as an exercise for the readerāā¦