title: How to install certificates to Firefox (Fiddler)?
body: <p>I use Fiddler dll to install Fiddler certificates:</p>
  
  <pre><code>   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;
  
              certmakerBcCert = FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.cert", null);
              certmakerBcKey = FiddlerApplication.Prefs.GetStringPref("fiddler.certmaker.bc.key", null);
          }
          return true;
      }
  </code></pre>
  
  <p>However, they don't install into firefox. Every browsers work fine except Firefox. Is there a way to install them into Firefox also <strong>through code?</strong></p>
  
  <p>Thanks!!</p>
  
  <p><strong>Note:</strong> I already have a program to install a certificate in Firefox, but I need them firstto be generated...</p>