This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to set up certs for default user profile

  • 5 ردود
  • 5 have this problem
  • 121 views
  • آخر ردّ كتبه EbrithilBowser

more options

I am trying to create a package to install Firefox in our corporate environment that contains our locally issued certificates. We can manually import the certs, but since Firefox is part of our corporate image, I would like to have the certs already installed for users as they open FF for the first time.

I have written a script that installs Firefox 22, copies files customized files into the correct locations, creates a new profile folder (C:\Program Files (x86)\Mozilla Firefox\defaults\profile) and copies the cert8.db file into that newly created folder. However, when a user opens FF for the first time, none of our certs are installed. If I close FF, copy the same cert8.db file into the C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<random string>.default folder and then re-open FF, the certs are now showing up as installed.

How can I automate this so that every user that opens FF will have the correct certs applied?

This is for the initial install of Firefox. Firefox 22, version 22.0.0.4917 Windows 7, 64-bit

I am trying to create a package to install Firefox in our corporate environment that contains our locally issued certificates. We can manually import the certs, but since Firefox is part of our corporate image, I would like to have the certs already installed for users as they open FF for the first time. I have written a script that installs Firefox 22, copies files customized files into the correct locations, creates a new profile folder (C:\Program Files (x86)\Mozilla Firefox\defaults\profile) and copies the cert8.db file into that newly created folder. However, when a user opens FF for the first time, none of our certs are installed. If I close FF, copy the same cert8.db file into the C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<random string>.default folder and then re-open FF, the certs are now showing up as installed. How can I automate this so that every user that opens FF will have the correct certs applied? This is for the initial install of Firefox. Firefox 22, version 22.0.0.4917 Windows 7, 64-bit

الحل المُختار

hello keslaa, from firefox 21 on & upwards this information would need to go into %ProgramFiles(x86)%\Mozilla Firefox\browser\defaults\profile in order to take effect.

http://mike.kaply.com/2013/05/13/more-major-changes-coming-in-firefox-21/

Read this answer in context 👍 5

All Replies (5)

more options

الحل المُختار

hello keslaa, from firefox 21 on & upwards this information would need to go into %ProgramFiles(x86)%\Mozilla Firefox\browser\defaults\profile in order to take effect.

http://mike.kaply.com/2013/05/13/more-major-changes-coming-in-firefox-21/

more options

Phillipp,

That was it! Thank you!

more options

I have the same problem, but sadly that doesn't work for me :( I also save the cert8.db into browser\defaults\profile, but the user profile makes it's own cert8.db

more options

Hi EbrithilBowser

Does the file work if you manually place it in the profile folder?

Are other files that you place in the browser\defaults\profile copied?

more options

Yes, it works if i place it manually

There are no other files, but i tried saving another file in the folder, which was copied into the profiles without problems