First, I'm sorry if the question is not at the correct place.
I have an application that uses FiddlerCore4.dll
I use the following to installe Fiddler's certificate:
public static bool InstallCertificate()
{
if (!string.IsNullOrEmpty(certmakerBcCert))
{
FiddlerApplication.Prefs.SetStringPref("fiddler.certmaker.bc.key", certmakerBcKey);
FiddlerApplication.Prefs.SetStringPref("fiddler.certmaker.bc.cert", certmakerBcCert);
}
if (!CertMaker.rootCertExists())
{
//CLog.writeNoLogInDB("Creating SSL certificate");
if (!CertMaker.createRootCert())
return false;
if (!CertMaker.trustRootCert())
return false;
FiddlerApplication.Prefs.SetBoolPref("fiddler.certmaker.PreferCertEnroll", true);
certmakerBcCert = FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.cert", null);
certmakerBcKey = FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.key", null);
}
return true;
}
However, for firefox, I need to import them manually. How can I ensure through code they are also installed in Firefox? Been looking how to do it for a while.
My application needs to be user friendly, so using Fiddler application to generate Root certificates, and then import them in Firefox is complicated for users.
Thanks