Compare commits
2 Commits
ed1170fc7c
...
52ce530aff
Author | SHA1 | Date | |
---|---|---|---|
52ce530aff | |||
96b9cd1a74 |
@ -2174,7 +2174,7 @@ ACME._postChallenge = function (me, options, auth) {
|
|||||||
options: options
|
options: options
|
||||||
, url: auth.url
|
, url: auth.url
|
||||||
, protected: { kid: options._kid }
|
, protected: { kid: options._kid }
|
||||||
, payload: Enc.binToBuf(JSON.stringify({}))
|
, payload: Enc.binToBuf('')
|
||||||
}).then(function (resp) {
|
}).then(function (resp) {
|
||||||
if ('processing' === resp.body.status) {
|
if ('processing' === resp.body.status) {
|
||||||
//#console.debug('poll: again');
|
//#console.debug('poll: again');
|
||||||
@ -2220,7 +2220,7 @@ ACME._postChallenge = function (me, options, auth) {
|
|||||||
|
|
||||||
function respondToChallenge() {
|
function respondToChallenge() {
|
||||||
//#console.debug('[acme-v2.js] responding to accept challenge:');
|
//#console.debug('[acme-v2.js] responding to accept challenge:');
|
||||||
// POST-as-GET
|
// POST-as-POST (empty JSON object)
|
||||||
return ACME._jwsRequest(me, {
|
return ACME._jwsRequest(me, {
|
||||||
options: options
|
options: options
|
||||||
, url: auth.url
|
, url: auth.url
|
||||||
@ -2431,7 +2431,7 @@ ACME._finalizeOrder = function (me, options) {
|
|||||||
options: options
|
options: options
|
||||||
, url: options._certificate
|
, url: options._certificate
|
||||||
, protected: { kid: options._kid }
|
, protected: { kid: options._kid }
|
||||||
, payload: Enc.binToBuf(JSON.stringify({}))
|
, payload: Enc.binToBuf('')
|
||||||
}).then(function (resp) {
|
}).then(function (resp) {
|
||||||
//#console.debug('acme-v2: csr submitted and cert received:');
|
//#console.debug('acme-v2: csr submitted and cert received:');
|
||||||
// https://github.com/certbot/certbot/issues/5721
|
// https://github.com/certbot/certbot/issues/5721
|
||||||
|
Loading…
x
Reference in New Issue
Block a user