iOS Traffic Interception Setup (iPhone / iPad)
Trafexia supports intercepting all HTTP/HTTPS network traffic from iOS devices (iPhone, iPad, iPod Touch) running iOS 12.0 or newer.
1. Configuring HTTP Proxy on iOS
Method 1: Manual Proxy Configuration
- On your iPhone/iPad, open Settings ➔ Wi-Fi.
- Tap the (i) info icon next to your connected Wi-Fi network.
- Scroll to the bottom and select Configure Proxy.
- Select Manual.
- Server: Enter your desktop computer's local IP address (e.g.,
192.168.1.50). - Port: Enter
8888. - Tap Save in the top right corner.
Method 2: PAC Autoconfig URL (No Internet Disconnection)
Trafexia provides a Proxy Auto-Configuration (PAC) URL endpoint. This feature routes traffic cleanly without breaking general internet connectivity when Trafexia is closed or for non-inspected domains.
- In desktop Trafexia, open Quick Connect ➔ Mobile Device Autoconfig (PAC).
- Click Copy PAC URL (e.g.,
http://192.168.1.50:8888/proxy.pac). - On your iOS device, go to Wi-Fi ➔ Configure Proxy ➔ Automatic.
- Paste the copied PAC URL into the URL field and tap Save.
2. Installing the Root CA Certificate Profile
To allow iOS to decrypt HTTPS traffic:
- Open Safari on your iOS device and navigate to:
http://chocode.com.vn:8888/ca.crt(or scan the QR code on Trafexia's Quick Connect screen). - Safari will display a prompt: "This website is trying to download a configuration profile. Do you want to allow this?" ➔ Tap Allow.
- Tap Close when the profile downloaded notification appears.
3. Installing the Configuration Profile
- Open Settings ➔ Profile Downloaded (or General ➔ VPN & Device Management).
- Tap the Trafexia Root CA profile.
- Tap Install in the top right corner.
- Enter your device passcode.
- Tap Install again to confirm.
4. Enabling Full Certificate Trust Settings
This is the most crucial step on iOS. Skipping this step will cause iOS apps to reject HTTPS connections with SSL errors:
- Go to Settings ➔ General ➔ About.
- Scroll to the bottom and tap Certificate Trust Settings.
- Under ENABLE FULL TRUST FOR ROOT CERTIFICATES, locate Trafexia Root CA.
- Toggle the switch to ON (Green).
- Tap Continue on the system warning dialog.
You are now ready to intercept, decrypt, and inspect all HTTP/HTTPS & WebSocket traffic from any iOS application!