Just a quick post on how to set up MITM with GOG GALAXY so other people can take over my job. First make sure to update the application, because half of these changes get reverted with every update.
This makes the graphical interface work.
C:\ProgramData\GOG.com\Galaxy\redists\rootCA.pem in a text editor. ProgramData is not the same as Program Files!This makes the background service work.
Before version 12.0.0 mitmproxy did not have support for adding revocation information to certificates, which caused them to be rejected by the Windows Schannel backend. Make sure you are on the correct version if you want to capture Communication Service traffic.
For more information on how I set up mitmproxy for transparently proxying a VM read my previous article Transparent proxying setup for mitmproxy with only one VM