Compare commits

..

No commits in common. "52ce530affa5b4d1ddc646bc8f58e90920d5dd87" and "ed1170fc7cdafabc9fc440ebcc019ffcfcd34fd2" have entirely different histories.

View File

@ -2174,7 +2174,7 @@ ACME._postChallenge = function (me, options, auth) {
options: options
, url: auth.url
, protected: { kid: options._kid }
, payload: Enc.binToBuf('')
, payload: Enc.binToBuf(JSON.stringify({}))
}).then(function (resp) {
if ('processing' === resp.body.status) {
//#console.debug('poll: again');
@ -2220,7 +2220,7 @@ ACME._postChallenge = function (me, options, auth) {
function respondToChallenge() {
//#console.debug('[acme-v2.js] responding to accept challenge:');
// POST-as-POST (empty JSON object)
// POST-as-GET
return ACME._jwsRequest(me, {
options: options
, url: auth.url
@ -2431,7 +2431,7 @@ ACME._finalizeOrder = function (me, options) {
options: options
, url: options._certificate
, protected: { kid: options._kid }
, payload: Enc.binToBuf('')
, payload: Enc.binToBuf(JSON.stringify({}))
}).then(function (resp) {
//#console.debug('acme-v2: csr submitted and cert received:');
// https://github.com/certbot/certbot/issues/5721