2017-02-03 51 views
1

在fiddler核心的新版本(4.6.3.50306)中,我无法获得所有偏好(特别是“fiddler.certmaker.bc.cert” &“fiddler.certmaker.bc.key”),但在旧版本(即4.5.1)其工作正常。在fiddler核心的新版本(4.6.3.50306)中缺少一些偏好

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

即使在提琴手应用程序的优先级列表这两首缺少

enter image description here

回答

1

我不知道为什么新的版本并没有给我值这两个首选项(小提琴手。 certmaker.bc.cert & fiddler.certmaker.bc.key),可能是因为它使用“CertEnroll引擎”,而旧版本使用的是“BCCertMaker.BCCertMaker从CertMaker.dll

,但使用的

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

我用

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

而现在是工作的罚款,并给予我的钥匙串和证书的字符串。