From 19dd9a95f442b9faf6c7375f141bb8df3d8f028d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 19 Apr 2018 15:02:28 -0600 Subject: [PATCH] update renewWithin defaults --- README.md | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 04d1be4..6570d5b 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ Standalone var leSni = require('le-sni-auto').create({ - renewWithin: 10 * 24 * 60 * 60 1000 // do not renew prior to 10 days before expiration -, renewBy: 5 * 24 * 60 * 60 1000 // do not wait more than 5 days before expiration + renewWithin: 14 * 24 * 60 * 60 1000 // do not renew prior to 10 days before expiration +, renewBy: 10 * 24 * 60 * 60 1000 // do not wait more than 5 days before expiration // key (privkey.pem) and cert (cert.pem + chain.pem) will be provided by letsencrypt , tlsOptions: { rejectUnauthorized: true, requestCert: false, ca: null, crl: null } @@ -145,7 +145,7 @@ This gets passed to `https.createServer(tlsOptions, app)` as `tlsOptions.SNICall ```javascript var leSni = require('le-sni-auto').create({ - renewWithin: 10 * 24 * 60 * 60 1000 + renewWithin: 14 * 24 * 60 * 60 1000 }); var tlsOptions = require('localhost.daplie.com-certificates').merge({ diff --git a/package.json b/package.json index ebbd866..4404772 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "le-sni-auto", - "version": "2.1.3", + "version": "2.1.4", "description": "An auto-sni strategy for registering and renewing letsencrypt certificates using SNICallback", "homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js", "main": "index.js", @@ -13,7 +13,7 @@ }, "repository": { "type": "git", - "url": "git+https://git.coolaj86.com/coolaj86/le-sni-auto.git" + "url": "git+https://git.coolaj86.com/coolaj86/le-sni-auto.js.git" }, "keywords": [ "le-sni",