Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Demand certificates firefox.cfg

  • 2 odpovědi
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od Mike Kaply

more options

Good morning,


in our autoconfig.js we have set it to use the corresponding firefox.cfg. This also works so far.


Unfortunately we have problems with the import of the certificates (that used to work).


There is some problem with this code: var Cc = Components.classes; var Ci = Components.interfaces; var certdb = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB); var certdb2 = certdb; try {

  certdb2 = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB2);

} catch (e) {}

cert1 = "XYZ....." certdb.addCertFromBase64(cert1, "TCu,TCu,TCu", "");


We get the message 'Configuration file could not be read. Please contact your system administrator'


Regards

Good morning, in our autoconfig.js we have set it to use the corresponding firefox.cfg. This also works so far. Unfortunately we have problems with the import of the certificates (that used to work). There is some problem with this code: var Cc = Components.classes; var Ci = Components.interfaces; var certdb = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB); var certdb2 = certdb; try { certdb2 = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB2); } catch (e) {} cert1 = "XYZ....." certdb.addCertFromBase64(cert1, "TCu,TCu,TCu", ""); We get the message 'Configuration file could not be read. Please contact your system administrator' Regards

Všechny odpovědi (2)

more options
more options

Yes, to reiterate what cor-el said, there are much better ways to do this now.

That being said, if there is some reason you have to do it this way, reach out to me at mkaply AT mozilla.com and send me your file and I'll figure it out,.