diff --git a/lib/get-acme-urls.js b/lib/get-acme-urls.js index 5ded272..ece0680 100644 --- a/lib/get-acme-urls.js +++ b/lib/get-acme-urls.js @@ -39,7 +39,7 @@ module.exports.create = function (deps) { } } - if (4 !== Object.keys(data).length) { + if (5 !== Object.keys(data).length) { console.warn("This Let's Encrypt / ACME server has been updated with urls that this client doesn't understand"); console.warn(data); } @@ -56,6 +56,7 @@ module.exports.create = function (deps) { , newCert: data['new-cert'] , newReg: data['new-reg'] , revokeCert: data['revoke-cert'] + , keyChange: data['key-change'] }); }); } diff --git a/node.js b/node.js index c156e29..fe0fb70 100644 --- a/node.js +++ b/node.js @@ -9,7 +9,7 @@ var defaults = { productionServerUrl: 'https://acme-v01.api.letsencrypt.org/directory' , stagingServerUrl: 'https://acme-staging.api.letsencrypt.org/directory' , acmeChallengePrefix: '/.well-known/acme-challenge/' -, knownEndpoints: [ 'new-authz', 'new-cert', 'new-reg', 'revoke-cert' ] +, knownEndpoints: [ 'new-authz', 'new-cert', 'new-reg', 'revoke-cert', 'key-change' ] , challengeType: 'http-01' , rsaKeySize: 2048 };