Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
已存档

Using certutil, the certificate is not always installed when firefox is open.

RogelioGutierrez 已回复
RogelioGutierrez

We are using certutil to install a self signed certificate. When firefox is closed and the command is executed, the certificate is getting installed without problems but when firefox is opened, not always the certificate is installed. Steps: - Check cert with certutil, cert is not there (expected). - Open firefox - Install certificate with certutil. - Check certificate with certutil, certificate is there. - From firefox, view certificates, new certificate is not there. - Check again certificate with certutil, certificate is not there.

Seems that when firefox is opened, the certificate list/db is returned to his previous state.

We are using certutil to install a self signed certificate. When firefox is closed and the command is executed, the certificate is getting installed without problems but when firefox is opened, not always the certificate is installed. Steps: - Check cert with certutil, cert is not there (expected). - Open firefox - Install certificate with certutil. - Check certificate with certutil, certificate is there. - From firefox, view certificates, new certificate is not there. - Check again certificate with certutil, certificate is not there. Seems that when firefox is opened, the certificate list/db is returned to his previous state.

由RogelioGutierrez于修改

所有回复 (4)

hi RogelioGutierrez, i'm not sure about certutil, but maybe you could try one of the other methods to import your cert: https://mike.kaply.com/2015/02/10/installing-certificates-into-firefox/

It is likely that Firefox loads the content on the cert8.db in memory on startup and keeps this data in memory. If you close Firefox then this data is once again saved to the cert8.db file. So if this is the case then you can't update the cert8.db file while Firefox is running.

cor-el dijo

It is likely that Firefox loads the content on the cert8.db in memory on startup and keeps this data in memory. If you close Firefox then this data is once again saved to the cert8.db file. So if this is the case then you can't update the cert8.db file while Firefox is running.

Thanks for your response.

Seems that this is what is happening, we need to find a way to install the certificate when Firefox is closed.

cor-el dijo

It is likely that Firefox loads the content on the cert8.db in memory on startup and keeps this data in memory. If you close Firefox then this data is once again saved to the cert8.db file. So if this is the case then you can't update the cert8.db file while Firefox is running.

Thanks for your response.

These options that you mention looks good!.

From current functionality and design we need to use certutil. We will consider the options that you mention for next releases in order to avoid this behavior.