1

The case: I want to use Charles Proxy for debugging my requests to API on Genymotion. After setting up Genymotion(Proxy: 10.0.3.2 and Port: 8888) I got unreadable response. After some search I found out that it could be related with the use of SSL. I successfully installed Charles certificate on my emulator from http://www.charlesproxy.com/getssl/, and I still get such unreadable response. enter image description here

this answer and this guide didn't help me much

Community
  • 1
  • 1
Autumn_Cat
  • 790
  • 1
  • 14
  • 28
  • you are seeing the SSL-encrypted traffic there. you need to do a man-in-the-middle with charles and install the certificate in the browser you are using to open genymotion – fragmentedreality Jul 13 '16 at 22:39
  • @fragmentedreality **install the certificate in the browser you are using to open genymotion** Sorry, but I'm not sure that I get it. I have installed certificate on my genymotion with local browser. Should I install this certificate for the my particular app? but how? – Autumn_Cat Jul 14 '16 at 07:49

1 Answers1

3

1) You have to add the device certificate (which you have done).

2) You need to add locations to the SLL Proxying table.

From the menu: Proxy--->SSL Proxy Settings...--->SSL Proxying

Click Add.

In the Host box, put the site name to translate (use wildcards if needed). Example: *.mysite.com

Leave the Port blank.

Click OK.

Make sure Enable SSL Proxying is checked, and your host filter is also checked.

Click OK.

Restart Charles.

John Chambers
  • 51
  • 1
  • 6