Installing fiddler certificates

2 posts, 0 answers
  1. Cherry
    Cherry avatar
    2 posts
    Member since:
    Jan 2017

    Posted 20 Mar Link to this post

    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

  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    538 posts

    Posted 24 Mar Link to this post

    Rather unfortunately, this is really a Firefox API question and not FiddlerCore.

    On a side note, please, make sure you have the appropriate FiddlerCore license for developing commercial applications. The free version of FiddlerCore is intended for educational purposes only.

    Regards,
    Tsviatko Yovtchev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top