campbellC/third-wheel

Get mitm mode working with google chrome

Closed this issue · 2 comments

This is the tracking issue for getting third-wheel compatible with Chrome. Chrome has quite stringent restrictions with certificates and unhelpful error message when they fail. We will probably have to improve the certificate spoofing logic a bit. Included in this work would preferably be a script to test the Chrome accepting the mitm that we can run on new builds.

I've started a branch for this issue which has the code for setting up a docker image to test chrome against the mitm. It currently fails because it rejects the certificate. I think probably we need to copy more data from the target site certificate in order to jump through Chrome's hoops. Unfortunately chrome gives very little information so I think I'll just copy everything I can see how to copy and see if that works.

I've merged in the working code now.