搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to set up certs for default user profile

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/

從原來的回覆中察看解決方案 👍 5

所有回覆 (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