Skip to content

Commit

Permalink
Update cert-generator and certs
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 14, 2017
1 parent f010fb5 commit 4074290
Show file tree
Hide file tree
Showing 2 changed files with 3,673 additions and 3,512 deletions.
4 changes: 1 addition & 3 deletions etc/cert_generator.js
Expand Up @@ -32,10 +32,8 @@ function getPEMString(cert)
+ "\r\n-----END CERTIFICATE-----\r\n";
}

let certcache = Components.classes["@mozilla.org/security/nsscertcache;1"].createInstance(Ci.nsINSSCertCache);
let certdb = Components.classes["@mozilla.org/security/x509certdb;1"].createInstance(Ci.nsIX509CertDB);
certcache.cacheAllCerts();
let enumerator = certcache.getX509CachedCerts().getEnumerator();
let enumerator = certdb.getCerts().getEnumerator();
let certlist = [];
let certstring="";
while(enumerator.hasMoreElements()){
Expand Down

0 comments on commit 4074290

Please sign in to comment.