From 7774d0f8b1acf965852bf901fcc13b5551c9b934 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 27 Oct 2019 04:38:05 -0600 Subject: [PATCH] updates for greenlock-express --- README.md | 30 +++++++--- accounts.js | 71 ++++++++++++++++------ certificates.js | 147 ++++++++++++++++++++++++++-------------------- greenlock.js | 65 +++++++++++++++++--- package-lock.json | 34 +++-------- package.json | 4 +- utils.js | 28 ++++++--- 7 files changed, 247 insertions(+), 132 deletions(-) diff --git a/README.md b/README.md index c1f88fb..0de87e2 100644 --- a/README.md +++ b/README.md @@ -65,12 +65,23 @@ var gl = Greenlock.create({ }); ``` -| Parameter | Description | -| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| maintainerEmail | the developer contact for critical bug and security notifications | -| maintainerUpdates | (default: false) receive occasional non-critical notifications | -| subscriberEmail | the contact who agrees to the Let's Encrypt Subscriber Agreement and the Greenlock Terms of Service
this contact receives renewal failure notifications | -| agreeToTerms | (default: false) either 'true' or a function that presents the Terms of Service and returns it once accepted | +| Parameter | Description | +| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| servername | the default servername to use for non-sni requests (many IoT clients) | +| maintainerEmail | the developer contact for critical bug and security notifications | +| maintainerUpdates | (default: false) receive occasional non-critical notifications | +| maintainerPackage | if you publish your package for others to use, `require('./package.json').name` here | +| maintainerPackageVersion | if you publish your package for others to use, `require('./package.json').version` here | +| subscriberEmail | the contact who agrees to the Let's Encrypt Subscriber Agreement and the Greenlock Terms of Service
this contact receives renewal failure notifications | +| agreeToTerms | (default: false) either 'true' or a function that presents the Terms of Service and returns it once accepted | +| store | override the default storage module | +| store.module | the name of your storage module | +| store.xxxx | options specific to your storage module | +| challenges['http-01'] | provide an http-01 challenge module | +| challenges['dns-01'] | provide a dns-01 challenge module | +| challenges['tls-alpn-01'] | provide a tls-alpn-01 challenge module | +| challenges[type].module | the name of your challenge module | +| challenges[type].xxxx | module-specific options | ### Add Approved Domains @@ -130,15 +141,18 @@ TODO -