This is a migrated thread and some comments may be shown as answers.

In fiddler core's new versions (4.6.3.50306) some preferences are missing

1 Answer 101 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 03 Feb 2017, 05:21 AM

In fiddler core's new versions (4.6.3.50306) i can't able to get all the preferences (especially "fiddler.certmaker.bc.cert" & "fiddler.certmaker.bc.key") but in the old version (i.e. 4.5.1) its working fine.

Code:
FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.cert", null));

FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.key", null));

Evenin the fiddler application's preference list these two preferences are missing

1 Answer, 1 is accepted

Sort by
0
Amit
Top achievements
Rank 1
answered on 07 Feb 2017, 11:04 AM

I don't know why new version was not giving me the values for those two preferences (fiddler.certmaker.bc.cert & fiddler.certmaker.bc.key), may be because it was using "CertEnroll engine", and the old version was using "BCCertMaker.BCCertMaker from CertMaker.dll"

But instead of using
FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.cert", null));FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.key", null));

I used
CertMaker.GetRootCertificate().GetPublicKeyString());CertMaker.GetRootCertificate().GetRawCertDataString();

And now it is working fine and giving me the key string and cert string.

Tags
Windows
Asked by
Amit
Top achievements
Rank 1
Answers by
Amit
Top achievements
Rank 1
Share this question
or