ustwo / mastermind

Man in the middle testing
MIT License
385 stars 66 forks source link

problem with all HTTPS connections in simple mode #38

Closed chodorowicz closed 8 years ago

chodorowicz commented 8 years ago

Steps to reproduce the expected behaviour

start simple mode (example from docs)

sudo mastermind --response-body $(pwd)/test/records/fake.json --url https://api.github.com/users/octocat/orgs

Expected behaviour

mastermind will not break other connections. Instead all connection to HTTPS are broken

image

Mastermind Version: mastermind 1.0.0-beta3 Operating System: OSX 10.11.5

arnau commented 8 years ago

@chodorowicz, at first it looks like you are missing the certificate setup https://github.com/ustwo/mastermind/blob/master/docs/install.md#setup-certificates

Could you verify it is correctly set?

chodorowicz commented 8 years ago

@arnau Thanks for the answer and sorry for not noticing that part of docs. I've installed the certs and also used mitmproxy --ignore for all domains except one I'm interested in (since dropbox and couple of other services still had problems, probably because of this certificate pinning that mitmproxy is mentioning). This can be closed of course.

arnau commented 8 years ago

Great!