How to see your iPhone or Android phone’s HTTPS traffic

To debug a mobile app or a mobile website, send the phone's traffic through VioLens on your computer. You'll see each request the phone makes, decrypted, just like your computer's own traffic.

The phone and the computer need to be on the same network.

1. Let other devices connect

In VioLens, check Tools > Connections and turn on Allow remote computers to connect. Then click Start (or Stop and Start again, as the setting takes effect on the next Start). Your firewall may ask whether to allow VioLens: allow it on private networks.

The Connections row now shows the address and port to use, such as 192.168.1.20:8888.

2. Point the phone at VioLens

iPhone or iPad: open Settings > Wi-Fi, tap the (i) next to your network, then Configure Proxy > Manual. Enter the address as the server and the port, and save.

Android: open your Wi-Fi settings, edit the network you’re on, and set Proxy to Manual. Enter the address as the hostname and the port, and save. The exact menus vary from phone to phone.

3. Install VioLens’s certificate on the phone

With the proxy set, open a browser on the phone and go to http://violens/. The page lets you download VioLens’s root certificate and explains how to install it.

4. Use the phone

Open the app or site, and its requests appear in VioLens’s session list. Everything else works as usual: breakpoints, the AutoResponder, Composer and Replay.

5. Clean up

When you’ve finished, turn the phone’s proxy off, remove VioLens’s certificate from the phone, and turn off Allow remote computers to connect. While that setting is on, anyone on your network can use your proxy, and reach anything your computer can, including your company’s network if you’re on a VPN. So only turn it on at home or on a network you trust.