This reverts commit 8e033dc387.
Lots of things in ursa-purejs is unimplemented. We get errors like:
/home/yellowtent/box/node_modules/ursa-purejs/lib/ursa.js:331
throw new Error("Unsupported operation : sign");
^
Error: Unsupported operation : sign
at Object.sign (/home/yellowtent/box/node_modules/ursa-purejs/lib/ursa.js:331:13)
at Object.sign (/home/yellowtent/box/node_modules/ursa-purejs/lib/ursa.js:624:27)
at /home/yellowtent/box/src/cert/acme.js:112:50
at /home/yellowtent/box/src/cert/acme.js:70:16
this does not seem to work.
From https://github.com/ericchiang/letsencrypt/commit/cf85854177b22540ca1aeba770c2b86534c6c5ef:
// RenewCertificate attempts to renew an existing certificate.
// Let's Encrypt may return the same certificate. You should load your
// current x509.Certificate and use the Equal method to compare to the "new"
// certificate. If it's identical, you'll need to run NewCertificate and/or
// start a new certificate flow.
part of #544
there were two approaches considered:
1. pipe through owner email from appstore. this requires to save this
value in settingsdb and we need to remember this in case user changes
the email. another issue is that selfhost installer tooling needs to
require this new value.
2. simply update owner email each time. this is the chosen approach.
registrations are failing because the LE server is doing a MX check.
we don't have a proper email to provide here since the box is not
activated yet. we should "update" the email at some point with
the owner information.