diff --git a/lib/zgacertsutil.js b/lib/zgacertsutil.js index e392fe4..f51dd82 100644 --- a/lib/zgacertsutil.js +++ b/lib/zgacertsutil.js @@ -505,8 +505,11 @@ z.CertsChain = class{ for(var i=0; i<_this.crls.length; i++){ z.log("Query crl for [" + _this.crls[i] + "]"); + const url = _this.crls[i]; + // A query of the Certificate Revocation List (CRL) via LDAP is unnecessary during the signing process. + if(url.slice(0,4)==='ldap') continue; /** @type {Uint8Array} */ - var crl = await z.urlFetch(_this.crls[i]); + var crl = await z.urlFetch(url); if(crl){ crls.push(crl); } diff --git a/package-lock.json b/package-lock.json index 8409a51..317484d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "zgapdfsigner", - "version": "2.7.2", + "version": "2.7.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "zgapdfsigner", - "version": "2.7.2", + "version": "2.7.3", "license": "MIT", "dependencies": { "follow-redirects": "1.15.6",