为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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