kopia lustrzana
https://git.coolaj86.com/coolaj86/le-sni-auto.js.git
synced 2025-06-30 17:06:32 +00:00
Porównaj commity
3 Commity
Autor | SHA1 | Data | |
---|---|---|---|
e0912d0f76 | |||
1f3e2670b9 | |||
|
6c8de20090 |
5
index.js
5
index.js
@ -146,7 +146,10 @@ module.exports.create = function (autoSni) {
|
|||||||
// give the cert some time (2-5 min) to be validated and replaced before trying again
|
// give the cert some time (2-5 min) to be validated and replaced before trying again
|
||||||
certMeta.renewAt = (autoSni._dbg_now || Date.now()) + (2 * MIN) + (3 * MIN * Math.random());
|
certMeta.renewAt = (autoSni._dbg_now || Date.now()) + (2 * MIN) + (3 * MIN * Math.random());
|
||||||
// let the update happen in the background
|
// let the update happen in the background
|
||||||
autoSni.getCertificatesAsync(domain, certMeta.certs).then(autoSni.cacheCerts);
|
autoSni.getCertificatesAsync(domain, certMeta.certs).then(autoSni.cacheCerts, function (error) {
|
||||||
|
// console.error('ERROR in le-sni-auto:');
|
||||||
|
// console.error(err.stack || err);
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// return the valid cert right away
|
// return the valid cert right away
|
||||||
|
5
package-lock.json
wygenerowano
Normal file
5
package-lock.json
wygenerowano
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "le-sni-auto",
|
||||||
|
"version": "2.1.9",
|
||||||
|
"lockfileVersion": 1
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "le-sni-auto",
|
"name": "le-sni-auto",
|
||||||
"version": "2.1.8",
|
"version": "2.1.9",
|
||||||
"description": "An auto-sni strategy for registering and renewing letsencrypt certificates using SNICallback",
|
"description": "An auto-sni strategy for registering and renewing letsencrypt certificates using SNICallback",
|
||||||
"homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js",
|
"homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
Ładowanie…
x
Reference in New Issue
Block a user