Setup Fiddler as Proxy server with Basic Authentication

Fiddler can be used as a proxy server with authentication. The following steps need to be followed to set proxy credentials in Fiddler.

Set Proxy host

The machine in which the fiddler is running will be the proxy host.

Set proxy port

Goto Tools -> Fiddler Options -> Connections and set Proxy port as shown below
SetPort

Set username and password

generate base64 encoding of username password combination in the following formate. You may use TextWizard of fiddler to do the conversion.

myUser:myPasscode


where
myUser is the username and myPasscode is password. The base64 encoded content for the above combination is bXlVc2VyOm15UGFzc2NvZGU= 

Then type the following command in QuickExec command. Note that the last part in the command is the base64 encoded content prepared.

prefs set fiddler.proxy.creds bXlVc2VyOm15UGFzc2NvZGU=

QuickExec

Enable Proxy Authentication Rule in Fiddler

Set Authentication Rule

Usung TextWizard of fiddler to do base64 conversion

TextWizard

Advertisements

2 thoughts on “Setup Fiddler as Proxy server with Basic Authentication

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s