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

Installing fiddler certificates

1 Answer 277 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cherry
Top achievements
Rank 1
Cherry asked on 20 Mar 2017, 07:32 PM

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

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 24 Mar 2017, 03:28 PM
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
Tags
General Discussions
Asked by
Cherry
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or