From 8a1048c7a20ba7ee423e9b264ba9ef6ed64a584b Mon Sep 17 00:00:00 2001 From: Cyrille Date: Thu, 9 May 2019 22:18:09 +0100 Subject: [PATCH] doesn't use jwkKeyPath --- lib/certificates/check.js | 2 +- lib/certificates/checkKeypair.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/certificates/check.js b/lib/certificates/check.js index d8b795a..bdee779 100644 --- a/lib/certificates/check.js +++ b/lib/certificates/check.js @@ -43,7 +43,7 @@ module.exports.check = (opts, options) => { , chain: values[2] }; }).catch((err) => { - console.error("There was an error checking the ceritifcates:", err.message); + console.error("There was an error checking the certificates:", err.message); return null; }); }; \ No newline at end of file diff --git a/lib/certificates/checkKeypair.js b/lib/certificates/checkKeypair.js index bb4a845..3c2d514 100644 --- a/lib/certificates/checkKeypair.js +++ b/lib/certificates/checkKeypair.js @@ -9,7 +9,7 @@ module.exports.checkKeypair = (opts, options) => { let id = opts.certificate.kid || opts.certificate.id || opts.subject; let pemKeyPath = pathHelper.certificatesPath(options, id, fileNames.privkey.pem); - let jwkKeyPath = pathHelper.certificatesPath(options, id, fileNames.privkey.jwk); + // let jwkKeyPath = pathHelper.certificatesPath(options, id, fileNames.privkey.jwk); return s3.getObject({ Key: pemKeyPath, Bucket: options.bucketName }).promise().then((data) => { console.log("Successfully retrieved certificate PEM keypair.");