From 330e0e78326e2dc067bb2917d8ba97bb5adef77b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 21 May 2019 00:59:20 -0600 Subject: [PATCH] worked with a domain, yay --- app/js/bluecrypt-acme.js | 4 ++-- app/js/greenlock.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/js/bluecrypt-acme.js b/app/js/bluecrypt-acme.js index 8d58e6e..4d9f0d4 100644 --- a/app/js/bluecrypt-acme.js +++ b/app/js/bluecrypt-acme.js @@ -2317,7 +2317,7 @@ ACME._setChallengesAll = function (me, options) { function setNext() { var authUrl = setAuths.shift(); var claim = claims.shift(); - if (!authUrl) { return; } + if (!authUrl) { return Promise.resolve(); } // var domain = options.domains[i]; // claim.identifier.value @@ -2390,7 +2390,7 @@ ACME._finalizeOrder = function (me, options) { if (me.debug) { console.debug('[acme-v2.js] pollCert:'); } return ACME._jwsRequest(me, { options: options - , url: options.order.finalize + , url: options.order.finalizeUrl , protected: { kid: options._kid } , payload: Enc.binToBuf(payload) }).then(function (resp) { diff --git a/app/js/greenlock.js b/app/js/greenlock.js index 944b1cd..dafc748 100644 --- a/app/js/greenlock.js +++ b/app/js/greenlock.js @@ -444,7 +444,7 @@ steps[4].submit = function () { console.log('Congrats! Auto advancing...'); - window.alert("An error happened in the final step, but it's not your fault. Email aj@rootprojects.org and let him know."); + steps[i](); }; steps[5] = function () {