fix POST-as-GET

This commit is contained in:
AJ ONeal 2019-05-28 04:31:50 -06:00
부모 5d4785ee19
커밋 6eb325186e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@ -2174,7 +2174,7 @@ ACME._postChallenge = function (me, options, auth) {
options: options
, url: auth.url
, protected: { kid: options._kid }
, payload: Enc.binToBuf(JSON.stringify({}))
, payload: Enc.binToBuf('')
}).then(function (resp) {
if ('processing' === resp.body.status) {
//#console.debug('poll: again');
@ -2225,7 +2225,7 @@ ACME._postChallenge = function (me, options, auth) {
options: options
, url: auth.url
, protected: { kid: options._kid }
, payload: Enc.binToBuf(JSON.stringify({}))
, payload: Enc.binToBuf('')
}).then(function (/*#resp*/) {
//#console.debug('respond to challenge: resp.body:');
//#console.debug(resp.body);
@ -2431,7 +2431,7 @@ ACME._finalizeOrder = function (me, options) {
options: options
, url: options._certificate
, protected: { kid: options._kid }
, payload: Enc.binToBuf(JSON.stringify({}))
, payload: Enc.binToBuf('')
}).then(function (resp) {
//#console.debug('acme-v2: csr submitted and cert received:');
// https://github.com/certbot/certbot/issues/5721