From 5f29f6b039882698c3da09c76d5ffa38f92526f0 Mon Sep 17 00:00:00 2001 From: Julian Reinhardt Date: Fri, 5 Nov 2021 14:20:12 +0100 Subject: [PATCH] Removes random delay when renewing certificates with the renew now button --- backend/internal/certificate.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js index 401c5604..b19a94d3 100644 --- a/backend/internal/certificate.js +++ b/backend/internal/certificate.js @@ -973,6 +973,7 @@ const internalCertificate = { '--config "' + letsencryptConfig + '" ' + '--cert-name "npm-' + certificate.id + '" ' + '--preferred-challenges "dns,http" ' + + '--no-random-sleep-on-renew ' + '--disable-hook-validation ' + (letsencryptStaging ? '--staging' : ''); @@ -1000,7 +1001,8 @@ const internalCertificate = { let mainCmd = certbotCommand + ' renew --non-interactive ' + '--cert-name "npm-' + certificate.id + '" ' + - '--disable-hook-validation' + + '--disable-hook-validation ' + + '--no-random-sleep-on-renew ' + (letsencryptStaging ? ' --staging' : ''); // Prepend the path to the credentials file as an environment variable