0% found this document useful (0 votes)
59 views

How To - Capture iOS Traffic With Fiddler

How To_ Capture iOS Traffic with Fiddler

Uploaded by

Lucas Diniz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

How To - Capture iOS Traffic With Fiddler

How To_ Capture iOS Traffic with Fiddler

Uploaded by

Lucas Diniz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

14/05/2021 How To: Capture iOS Traffic with Fiddler

BLOGS û

How To: Capture iOS Traffic with Fiddler


by Kamen Velikov Á January 21, 2019 .NET 13 Comments

Ê Č In this step by step tutorial, learn how to setup your iOS device to
use Fiddler as a proxy and capture web traffic from your phone.

â ÷ Last week we learned how to capture the traffic from you Android
device with Fiddler. Now, let’s see how it’s done on iOS.

Want to learn more about using Fiddler to debug iOS


apps? Check out our webinar on mobile app debugging
with Fiddler!

Prerequisites

First you have to have Fiddler installed on your desktop machine.


The PC and the iOS device should be discoverable on the same
network. This was the tricky part for me, as even when I have
them on the same network, they couldn’t communicate with each
other. I had to use the mobile hotspot on my machine to make
them discoverable.

Just ping the device IP from your machine to be sure they can
communicate.

Setting up Fiddler

First, you should enable the Allow remote computers to


connect setting in Fiddler

1. Open Fiddler and select Tools -> Options


2. Choose the Connections tab
3. Select the Allow remote computers to connect checkbox
to enable the setting.
4. Restart Fiddler in order the changes to take effect.

https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 1/8
14/05/2021 How To: Capture iOS Traffic with Fiddler

Fiddler is now listening on port 8888 (this is the default port, you
can change it from the setting above).

Setting up the iOS Device

Once Fiddler is listening, we should use it as a proxy in iOS.

1. Open Settings -> WiFi


2. Find your current network and click the i icon
3. Scroll to bottom and choose Manual on the HTTP Proxy
choice
4. Type your IP address in the Server field
5. Type the Fiddler listening port (8888 by default) in the Port
field

https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 2/8
14/05/2021 How To: Capture iOS Traffic with Fiddler

Your device’s traffic should be visible in Fiddler.

Capture HTTPS Traffic

With the current setup you should be able to capture HTTP traffic.
However, if you try to open any HTTPS website, you’ll get the
This site’s security certificate is not trusted! error. To fix this,
you should trust the Fiddler root certificate.

1. In your browser, navigate to http://ipv4.fiddler:8888


2. Click on the Fiddler root certificate link to download it
3. Install the certificate on your device.
4. (iOS 10.3+) Go to General->About->Certificate Trust
Settings and enable full trust for the
DO_NOT_TRUST_FiddlerRoot certificate.

Now you should be able to capture HTTPS traffic too.

Cleaning Up

Once you’re done debugging, don’t forget to remove the WiFi


proxy from your device.

This is all you need to know about capturing web traffic from iOS
devices. If you have any questions or problems, just leave a
comment below.

We always love hearing feedback, so feel free to share your


https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 3/8
14/05/2021 How To: Capture iOS Traffic with Fiddler

thoughts on what you'd like to see with us over on our Feedback


Portal. And if you're new to Fiddler, you can get started today -
download Fiddler for free right here.

Ć Debugging, fiddler, ios

ABOUT THE AUTHOR


Kamen Velikov
Kamen is software developer and manager of the Fiddler team at Progress. He has
more than 11 years of professional experience in software development.
Programming has always been his passion and he feels lucky to work his hobby. In
his free time, he enjoys traveling, motorcycling, freshly-roasted coffee, and trying new
experiences. Geek by design. Writing is a new thing to him and he’ll appreciate your
feedback and comments.

RELATED POSTS

WEB FIDDLER

FAQ’s for Fiddler Web Debugging Proxy Tools and Troubleshooting Solutions

FIDDLER TESTING

Get Started Tracing HTTP Requests in a Few Clicks on Windows, macOS or Linux

DEVELOPER CENTRAL FIDDLER

Your Glossary Guide to the World of Acronyms for HTTP(S) Proxy Debugging

https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 4/8
14/05/2021 How To: Capture iOS Traffic with Fiddler

COMMENTS

ALSO ON TELERIK BLOGS

2 months ago • 3 comments a month ago • 4 comments 3 months


Project Reunion: Telerik UI Blazor Gloss
Why Desktop 2.23.0—Gauges, of Ac
Developers … … …

13 Comments Telerik Blogs 🔒 


1 Login

 Recommend t Tweet f Share Sort by Best

Join the discussion…

LOG IN WITH

OR SIGN UP WITH DISQUS ?

Name

Kari Cowan • 2 years ago


This is encouraging. Last time I reviewed Fiddler on my Mac
the options were somewhat limited to the PC ported version.
That was a a while back - I may want to look again :-)
2△ ▽ • Reply • Share ›

Kamen Velikov > Kari Cowan • 2 years ago


Hey Kari, I might have even better news. There is native
Fiddler version for Mac. It's still in beta, but we have
very aggressive roadmap and soon it will have
everything you need to Fiddle :)
Check this blogpost for more info.
1△ ▽ • Reply • Share ›

Juan David Nicholls > Kamen Velikov


• 2 years ago
Excellent!
https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 5/8
14/05/2021 How To: Capture iOS Traffic with Fiddler
Excellent!
△ ▽ • Reply • Share ›

Denis • 10 months ago


It‘s not working for me. Always if i connect to my computer
network, it never loads on iPhone (8)... i can‘t open any page
like google.
1△ ▽ • Reply • Share ›

Daniel • 2 years ago


... and enable full trust for the DO_NOT_TRUST_FiddlerRoot
certificate. 😂😂😂
1△ ▽ • Reply • Share ›

Kamen Velikov > Daniel • 2 years ago


Thanks Daniel,
It's updated in the blogpost now :)
△ ▽ • Reply • Share ›

Chris Varga • 2 years ago


Is it possible to configure Fiddler to work with and capture
WinHttp calls from a c/c++ application? Having said that, is it
also possible to capture SOAP calls from a native iOS app?
1△ ▽ • Reply • Share ›

Kamen Velikov > Chris Varga • 2 years ago


Fiddler doesn't support WinHTTP out of the box,
however, it's very easy to configure it: check this article
for more info. As for the SOAP calls, if the service is
using HTTP(S) protocol, there is no reason why you
should not be able to capture the traffic by following the
steps above - don't forget to trust Fiddler certificate, if
the service is over HTTPS.
△ ▽ • Reply • Share ›

Suyoga Patoleg • 5 months ago • edited


Can we install a fiddler certificate in iPhone11 (iOS 14.2) and
capture weblogs?
I have installed it but after installing, I can't browse the website
or Apps. Chrome/Safari is throwing an error message "This
Connection is not private". Can anyone help me how to resolve
this issue?
△ ▽ • Reply • Share ›

XWasHere > Suyoga Patoleg • 4 months ago


I have this problem too
△ ▽ • Reply • Share ›

Rosen Vladimirov > XWasHere • 4 months ago


Hey, sorry to hear you’ve experienced issues
with traffic capturing from iOS device. We’ve
investigated what could cause such errors and
here are some ideas:
https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 6/8
14/05/2021 How To: Capture iOS Traffic with Fiddler
here are some ideas:
- The DO_NOT_TRUST_FiddlerRoot certificate
is not fully trusted on the device.
- Mutliple DO_NOT_TRUST_FiddlerRoot profiles
are installed on the device and the certificate
expected by the device (the actual used profile)
mismatch the one used on the desktop machine
- Intermediate certificates are used by Fiddler for
each of the websites. In this case, the certificate
for each of them should be trusted on the
device.

Each of those reasons can cause the error. In


order to ensure you’ve mitigated all of the listed
issues, I suggest to follow the steps below:

TECHNOLOGIES

.NET
JavaScript

TOPICS

Developer Central
Web
Mobile
Desktop
Testing
Reporting
Fiddler

search blogs...

Latest Stories
in Your Inbox
Subscribe to be the first to get our expert-written articles and tutorials for developers!

Email

https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 7/8
14/05/2021 How To: Capture iOS Traffic with Fiddler

Country/Territory
Select country/territory

Subscribe

Telerik and Kendo UI are part of Progress


product portfolio. Progress is the leading
provider of application development and digital
experience technologies.

Company Technology Awards Press Releases Media Coverage Careers


Offices

Copyright © 2021, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights
Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered
trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S.
and/or other countries. See Trademarks for appropriate markings.

https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler 8/8

You might also like