diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js index e9083263..b631dc71 100644 --- a/backend/internal/certificate.js +++ b/backend/internal/certificate.js @@ -974,6 +974,7 @@ const internalCertificate = { '--config "' + letsencryptConfig + '" ' + '--cert-name "npm-' + certificate.id + '" ' + '--preferred-challenges "dns,http" ' + + '--no-random-sleep-on-renew ' + '--disable-hook-validation ' + (letsencryptStaging ? '--staging' : ''); @@ -1002,7 +1003,8 @@ const internalCertificate = { let mainCmd = certbotCommand + ' renew ' + '--config "' + letsencryptConfig + '" ' + '--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