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

搜索 | 用户支持

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

详细了解

Lost certificate

more options

Hello,

I had a private certificate (bank certificate) in mozilla firefox. My windows have crashed and I have put the disk onto another computer and I don't find that certificate. Will I be able to recover the certificate or have to order another one?

Thanks for reply

Blaz

Hello, I had a private certificate (bank certificate) in mozilla firefox. My windows have crashed and I have put the disk onto another computer and I don't find that certificate. Will I be able to recover the certificate or have to order another one? Thanks for reply Blaz

所有回复 (1)

more options

Hi Blaz, Firefox probably would have stored the certificate in a file named cert8.db in your active Firefox profile folder on the old drive. This is under a hidden path, so the first step is:

http://windows.microsoft.com/en-us/windows/show-hidden-files

And .db may be a hidden file extension, so:

https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/

Next, try to drill down here (assuming your old drive is "E"):

E:\Users\username\AppData\Mozilla\Firefox\Profiles

In that folder, you might find one or multiple semi-randomly-named folders. Whichever one was updated last probably was your active profile folder. You can copy the latest cert8.db file to your desktop (or if you are using a USB flash drive, that device).

To replace a file in your currently live Firefox profile folder:

Open your profile folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then rename cert8.db to something like cert8-old.db. Then copy/paste the file from the desktop (or USB flash drive) into this folder.

Start Firefox back up again. Is your personal certificate present? You can check using the Options page:

  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Linux: "3-bar" menu button (or Edit menu) > Preferences

In the left column, click Advanced. Then on the right side, with the "Certificates" mini-tab active, click the "View Certificates" button. It would be in the "Your Certificates" category.

Success?