doesn't use jwkKeyPath
This commit is contained in:
parent
8e38a11e46
commit
8a1048c7a2
|
@ -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;
|
||||
});
|
||||
};
|
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue