Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Firefox not showing certificates list when using Components.interfaces.nsIX509CertDB in .cfg file

  • 1 απάντηση
  • 2 έχουν αυτό το πρόβλημα
  • 4 προβολές
  • Τελευταία απάντηση από cor-el

more options

I have an autoconfig (.cfg file) script which adds a trusted certificate into firefox as displayed in https://mike.kaply.com/2015/02/10/installing-certificates-into-firefox/.

The certificate gets installed correctly in every Firefox version from 35 to 42. There's a small "side" anomaly, for Firefox >= 40: Firefox doesn't show the certificates list in "options" -> "advanced" -> "certificates" -> "view certificates" when the line

   var certdb = Components.classes["@mozilla.org/security/x509certdb;1"].getService(Components.interfaces.nsIX509CertDB);

is uncommented. Unfortunately, when that line is missing, no certificate gets installed. If the line gets commented, Firefox lists the certificates, which include also the one registered through autoconfig.

Is this secondary anomaly a firefox bug? Is Firefox dropping support to this function over time? Thank you

I have an autoconfig (.cfg file) script which adds a trusted certificate into firefox as displayed in https://mike.kaply.com/2015/02/10/installing-certificates-into-firefox/. The certificate gets installed correctly in every Firefox version from 35 to 42. There's a small "side" anomaly, for Firefox >= 40: Firefox doesn't show the certificates list in "options" -> "advanced" -> "certificates" -> "view certificates" when the line var certdb = Components.classes["@mozilla.org/security/x509certdb;1"].getService(Components.interfaces.nsIX509CertDB); is uncommented. Unfortunately, when that line is missing, no certificate gets installed. If the line gets commented, Firefox lists the certificates, which include also the one registered through autoconfig. Is this secondary anomaly a firefox bug? Is Firefox dropping support to this function over time? Thank you

Όλες οι απαντήσεις (1)

more options

Found this bug:

  • Bug 1222519 - Accessing the certdb too early causes the certificate database to not work later

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

See also: