Skip to content

Commit 7749a9c

Browse files
committed
AB#4499: Convert blog posts to articles
1 parent 6dc8670 commit 7749a9c

2 files changed

Lines changed: 46 additions & 1 deletion

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Capture SSL traffic with Fiddler
3+
description: Introduces how to make Fiddler to capture SSL traffic in two specific scenarios.
4+
ms.service: entra-id
5+
ms.date: 04/03/2025
6+
ms.reviewer: bachoang, v-weizhu
7+
ms.custom: sap:Enterprise Applications
8+
---
9+
# Capture SSL traffic with Fiddler
10+
11+
This article provides instructions to use Fiddler to capture Secure Sockets Layer (SSL) traffic.
12+
13+
## Scenario 1: Capture Node.js web traffic with Fiddler
14+
15+
To capture Node.js web application traffic using Fiddler, you need to proxy Node.js requests through Fiddler. The default proxy is 127.0.0.1:8888. To do so, before running the `npm start` command to start the Node.js server, enable the proxy settings by running the following commands:
16+
17+
```nodejs
18+
set https_proxy=http://127.0.0.1:8888
19+
set http_proxy=http://127.0.0.1:8888
20+
set NODE_TLS_REJECT_UNAUTHORIZED=0
21+
```
22+
23+
> [!NOTE]
24+
> To find out what port Fiddler is listening to, select **Tools** > **Options** > **Connections** from the Fiddler menu.
25+
26+
## Scenario 2: Capture the Azure Key Vault secrets client (from Azure SDK for .NET) with Fiddler
27+
28+
To capture Azure Key Vault traffic using Fiddler, set up the Fiddler as proxy through setting `http_proxy` and `https_proxy` environment variables in the application code, as follows:
29+
30+
```csharp
31+
32+
using Azure.Identity;
33+
using Azure.Security.KeyVault.Secrets;
34+
...
35+
// add these lines in your method to call Azure Key Vault
36+
Environment.SetEnvironmentVariable("HTTP_PROXY", "http://127.0.0.1:8888");
37+
Environment.SetEnvironmentVariable("HTTPS_PROXY", "http://127.0.0.1:8888");
38+
39+
var client = new SecretClient(new Uri(keyVaultUrl), credential);
40+
KeyVaultSecret result = client.GetSecret("MySecret");
41+
```
42+
43+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

support/entra/entra-id/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,4 +430,6 @@
430430
- name: Capture HTTPS traffic with Fiddler
431431
href: app-integration/capture-https-traffic-fiddler-entra-id-app.md
432432
- name: Capture Python web app HTTPS traffic with Fiddler
433-
href: app-integration/capture-https-traffic-fiddler-python-app.md
433+
href: app-integration/capture-https-traffic-fiddler-python-app.md
434+
- name: Sapture SSL traffic with Fiddler
435+
href: app-integration/fiddler-capture-ssl-traffic.md

0 commit comments

Comments
 (0)