Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

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

more options

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)

more options

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/

more options

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.

more options

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.

more options

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.