Merge branch 'master' into 'master'

Add key-change URL support

See merge request !1
This commit is contained in:
AJ ONeal 2017-01-16 23:02:15 +00:00
commit 681c0edc71
2 changed files with 3 additions and 2 deletions

View File

@ -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("This Let's Encrypt / ACME server has been updated with urls that this client doesn't understand");
console.warn(data); console.warn(data);
} }
@ -56,6 +56,7 @@ module.exports.create = function (deps) {
, newCert: data['new-cert'] , newCert: data['new-cert']
, newReg: data['new-reg'] , newReg: data['new-reg']
, revokeCert: data['revoke-cert'] , revokeCert: data['revoke-cert']
, keyChange: data['key-change']
}); });
}); });
} }

View File

@ -9,7 +9,7 @@ var defaults = {
productionServerUrl: 'https://acme-v01.api.letsencrypt.org/directory' productionServerUrl: 'https://acme-v01.api.letsencrypt.org/directory'
, stagingServerUrl: 'https://acme-staging.api.letsencrypt.org/directory' , stagingServerUrl: 'https://acme-staging.api.letsencrypt.org/directory'
, acmeChallengePrefix: '/.well-known/acme-challenge/' , 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' , challengeType: 'http-01'
, rsaKeySize: 2048 , rsaKeySize: 2048
}; };