diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js index 55f55d08..0c24c5ce 100644 --- a/backend/internal/certificate.js +++ b/backend/internal/certificate.js @@ -171,6 +171,7 @@ const internalCertificate = { // 3. Generate the LE config return internalNginx.generateLetsEncryptRequestConfig(certificate) .then(internalNginx.reload) + .then(async() => await new Promise((r) => setTimeout(r, 5000))) .then(() => { // 4. Request cert return internalCertificate.requestLetsEncryptSsl(certificate);