BLeak
BLeak copied to clipboard
WebSocket handshake: Unexpected response code: 502
Hi,
I've managed to set up BLeak and added the mitm CA to my system. However, the wss connection to a third party system is failing with code 502. I suspect that the third party server is rejecting my certs as they have not added the mitm CA to their server. Is there a workaround for this, or would I have to get the third party to add the CA (at least in a QA environment)
Your intuition sounds correct, as I believe that MITMProxy will intercept websocket requests. I'm not sure if there's a way to prevent MITMProxy from intercepting websocket requests; you can check some of the options here:
https://docs.mitmproxy.org/stable/concepts-options/