為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Import certificates with file not working

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 rdejonge

more options

In our organization we have a script that imports certificates to all browsers on PC's.

With firefox we always copied key4.db, cert9.db, key3.db and cert8.db .

Recently we updated our script and most of clients updated their firefox. We now get complains that people's saved logins are dissappearing everytime they run the script. I already did some digging and google work and i discovered that key4.db contains the data of passwords?

Since when they do that? And is there a way to import all certificates by file and not lose saved pass words?

In our organization we have a script that imports certificates to all browsers on PC's. With firefox we always copied key4.db, cert9.db, key3.db and cert8.db . Recently we updated our script and most of clients updated their firefox. We now get complains that people's saved logins are dissappearing everytime they run the script. I already did some digging and google work and i discovered that key4.db contains the data of passwords? Since when they do that? And is there a way to import all certificates by file and not lose saved pass words?

所有回覆 (2)

more options

The key file (currently key4.db and previously key3.db) stores the encryption key. The actual usernames and passwords are stored in logins.json. If you replace the key file(s) then Firefox can't decrypt the logins stored in logins.json. For certificates you would only need cert9.db (SQLite) in current Firefox releases.

There are other ways to import certificates in Firefox via policy rules.


I will move the thread to Firefox for Enterprise support.

由 cor-el 於 修改

more options

cor-el said

The key file (currently key4.db and previously key3.db) stores the encryption key. The actual usernames and passwords are stored in logins.json. If you replace the key file(s) then Firefox can't decrypt the logins stored in logins.json. For certificates you would only need cert9.db (SQLite) in current Firefox releases. There are other ways to import certificates in Firefox via policy rules.

I will move the thread to Firefox for Enterprise support.

Thank you for your anwser, i tried with only cert8.db, cert9.db but it is not working. I am going to try the GPO solution