Last active
November 14, 2016 22:26
-
-
Save vcsjones/0f3bedcf35b615ed497a8fdead2884cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. In Fiddler, use "Ctrl+R" to open up the rules file. | |
2. Ctrl+F for "OnBoot" and uncomment it if it is (it is by default) | |
3. Replace the body of it with the one below and add the "ValidateCallback" function below OnBoot. | |
*/ | |
static function OnBoot() { | |
FiddlerApplication.add_OnValidateServerCertificate(ValidateCallback); | |
} | |
static function ValidateCallback(sender, e : ValidateServerCertificateEventArgs) { | |
FiddlerApplication.Log.LogString("Auto accepting certificate for " + e.Session.host); | |
e.ValidityState = CertificateValidity.ForceValid; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment