First Steps with Fiddler Everywhere on Linux
This tutorial describes how to install and start using Fiddler Everywhere on Linux.
- First, you will go through the installation and configuration steps.
- Next, you'll create a Fiddler account so that you can move on to effectively using the web-debugging tool.
- Then, you will switch the default Light theme with the Dark one.
- Finally, you will see how to capture, inspect, and modify traffic.
Prerequisites
- Install Ubuntu 18+ x64.
- Provide 400MB of free disk space.
- Create an account with administrative rights, which you'll need for capturing and decoding HTTPS traffic.
- Provide an active internet connection with access to the following URLs:
https://*.telerik.com/
https://*.getfiddler.com/
https://fiddler-backend-production.s3-accelerate.amazonaws.com
- Ensure that Fiddler Everywhere's proxy port is open and unrestricted by a firewall/security tool. By default, that's port 8866, but it can be changed from Settings > Connections > Fiddler listens on port.
Step 1: Install Fiddler Everywhere on Your Machine
Install the latest version of Fiddler Everywhere on your machine.
Navigate to the Fiddler Everywhere download page.
Select Download for Linux to download the installer.
-
Install the downloaded package. On most Linux distributions, you need to set the installation file as executable before starting the installation. To achieve this, either use the command line or the GUI of the desired distribution:
-
Setting the installation plan as executable through the command-line:
Open a terminal.
Navigate to the folder where the installation file resides.
Type
sudo chmod +x filename.appimage
. You can omit thesudo
command if the currently logged user is the one that downloaded the executable.If prompted, enter your username and password. Press the Enter key.
-
Setting the installation plan as executable through the GUI.
For the Gnome distribution
For the Cinnamon distribution
For the KDI distribution
-
Step 2: Create Your Fiddler Account
In this step you'll register by creating your unified Telerik account and become a trial user.
Launch the Fiddler Everywhere application. Follow the Sign in or create an account link.
On the Enter Your Email to Sign in or Create an Account screen, enter the requested information. The email you provide here will be later on used by your collaborators for sharing sessions, collections, and notifications.
Check your inbox and open the confirmation email to complete your account activation.
Return back to the Fiddler Everywhere application and accept the license agreement.
On the next screen, choose whether you want to become a trial user or purchase a subscription plan by selecting either the Start Free Trial or the BUY NOW link. For the purposes of this tutorial, you'll become a trial user by selecting the Start Free Trial option. You are all set to start using the full-scale functionalities Fiddler Everywhere delivers.
Step 3: Style the Tool
Now let's add more elegance to Fiddler Everywhere and change its default Light theme with the Dark one—just go to the Themes menu, select the Dark theme, and click Save. That's it!
Step 4: Capture Secure Traffic
Fiddler Everywhere can capture all HTTP and HTTPS traffic between your computer and the Internet from virtually any application that supports a system proxy.
However, you can only track non-secure HTTP system traffic with Fiddler Everywhere by default. Therefore, to capture HTTPS system traffic, you'll have to install and trust the Fiddler root certificate.
As the Linux distributions use different security features and approaches for trusting a root certificate, Fiddler Everywhere enables you to export the certificate and manually import it into your Linux OS.
The approach for trusting the Fiddler root certificate in this tutorial assumes that your Linux distribution uses the
dkpg-reconfigure
command. If this is not the case, refer to the article on configuring the Fiddler certificate on Fedora, CentOS, and RedHat.
Start Fiddler Everywhere and go to Settings > HTTPS. Expand the Advanced Settings sub-menu and export the certificate through the Export root certificate(DER/Binary format) button. The certificate is exported to ~/Desktop as file with name FiddlerRootCertificate.crt.
-
To import and trust the exported certificate, perform the following steps.
(For localized Linux distributions only) Some Linux distributions, such as Ubuntu, use localized paths—for example, the name of the Desktop folder is translated into the locale language. As this may cause an error, create a folder named Desktop in your root
mkdir ~/Desktop
directory. Then, export the certificate to the newly-created directory. Once the certificate is installed, you can safely remove that directory.-
Create a directory and copy the exported certificate by running the following commands.
$ sudo mkdir /usr/share/ca-certificates/extra $ sudo cp ~/Desktop/FiddlerRootCertificate.crt /usr/share/ca-certificates/extra // Starts the tool and upgrades the certificates. $ sudo dpkg-reconfigure ca-certificates
-
From the prompt, select Yes to install new certificates.
-
Choose the
FiddlerRootCertificate.crt
file and click OK. -
The certificates are now updated.
-
Enable the capturing of the HTTPS traffic by selecting the Capture HTTPS traffic checkbox and clicking Save.
Back on the foremost Fiddler Everywhere screen, enable the Live Traffic toggle to start capturing HTTP and HTTPS system traffic.
That's it! Fiddler Everywhere will start immediately to capture all the traffic generated from any application that uses the operating system proxy settings.
Fiddler Everywhere provides the preconfigured browser-capturing option, which enables you to skip the system capturing configuration from this step. The predefined browser-capturing option comes in handy when you generate captured traffic only from a browser, lack administrative rights to install certificates and modify the system proxy, or when third-party VPNs and security tools collide with the Fiddler Everywhere proxy.
Step 5: Fiddle with the Traffic
Let's now continue with capturing and inspecting some HTTPS traffic:
Inspect each session's request and response data through the Inspectors tab.
Extract more details and statistical data by using the Overview tab.
Now you'll extract a captured session:
Go to the Live Traffic tab and select a request/response entry from the sessions list.
Double-click to open the Inspectors tab and inspect the detailed session request/response data.
Switch to the Overview tab to observe technical and statistical data.
Let's modify that session!
Right-click the session of your request to open the context menu of the entry. From there, select Edit in Composer.
Modify its headers when the session opens in a new Composer window. For example, add a new HTTP header with the
isTest
key and thetrue
value.Click the tick to add the new HTTP header.
Click the Execute button to replay the modified request.
That was it! Now you are ready to dive more deeply into Fiddler Everywhere and take full advantage of its slick functionalities!
Next Steps
- Learn more about the capturing options with Fiddler Everywhere
- Configuring Fiddler Everywhere on Fedora, CentOS, or RedHat
- Configuring Fiddler Everywhere on XFCE
- Creating PEM certificate
- Setting Up the Root Certificate for Electron Applications on Ubuntu
- Sharing captured sessions with collaborators
- Creating API requests
- Grouping the API requests in collections
- Mocking server responses