I tried to capture the send-out traffic of the Android app (Google Drive, Facebook, etc.). This is my security thesis. I succeed capture send-out traffic on the Google Drive app with Mitmproxy but with Facebook and Messenger, I can't. I have tried with Burp Suite too but it shows the same error.
It showed this error:
[22:31:04.915][192.168.1.14:54628] client connect
[22:31:05.034][192.168.1.14:54628] server connect graph.facebook.com:443 (31.13.86.8:443)
[22:31:05.094][192.168.1.14:54634] client connect
[22:31:05.134][192.168.1.14:54634] server connect graph.facebook.com:443 (31.13.86.8:443)
[22:31:05.186][192.168.1.14:54628] Client TLS handshake failed. The client does not trust the proxy's certificate for graph.facebook.com (sslv3 alert bad certificate)
Even though I added the Mitmproxy certificate and Burp Suite certificate to the Android system certificate, it seems not to work with Facebook.
Thank you