Confirmed users
299
edits
(→Experimental Built-in Windows Support: update additional registry locations searched as of Firefox 52) |
(→AutoConfig via JavaScript: update link to addCertFromBase64 API) |
||
Line 20: | Line 20: | ||
== AutoConfig via JavaScript == | == AutoConfig via JavaScript == | ||
If you're using AutoConfig without CCK2, you can still use [ | If you're using AutoConfig without CCK2, you can still use [https://dxr.mozilla.org/mozilla-central/rev/e17cbb839dd225a2da7e5d5bec43cf94e11749d8/security/manager/ssl/nsIX509CertDB.idl#353 the API] that the CCK2 uses to install certificate authorities. Here's what it looks like to install the [http://www.cacert.org/index.php?id=3 cacert.org root certificate]: | ||
# var certdb = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB); | # var certdb = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB); |