SSL Proxy/Charles and Android trouble -


i want test https calls android device using charles proxy tool. need see raw request/response contents debugging app. i've configured charles adding host , port under "proxy settings" -> ssl tab. when run app, ssl calls seems disappear charles. 1 has idea how fix issue. charles documentation doesn't seem have information android devices.

for android7

refer to: how charles proxy work android 7 nougat?

for android version below android7

from computer, run charles:

  1. open proxy settings: proxy -> proxy settings, proxies tab, check "enable transparent http proxying", , remember "port" in heart. enter image description here

  2. ssl proxy settings:proxy -> ssl proxy settings, ssl proxying tab, check “enable ssl proxying”, , add . locations: enter image description here enter image description here

  3. open access control settings: proxy -> access control settings. add local subnet authorize machines on local network use proxy machine/mobile. enter image description here

in android phone side:

  1. get charles ssl certificate. visit url mobile browser: http://charlesproxy.com/getssl enter image description here

  2. in “name certificate” enter whatever want

  3. accept security warning , install certificate. if install successful, see sth that: in phone, settings -> security -> trusted credentials: enter image description here

  4. configure mobile: go settings -> wireless & networks -> wifi -> connect or modify network, fill in computer ip address , port(8888): enter image description here

done.

then can have test on mobile, encrypted https request shown in charles: enter image description here


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -