From 834fb1a36151c5e04fac6e763232a9486819b4d4 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Fri, 12 Jan 2024 17:04:55 +1000 Subject: [PATCH] Add missing args to certbot command, was causing failures in rovokation --- backend/internal/certificate.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js index 24a1c81f..8a917ef1 100644 --- a/backend/internal/certificate.js +++ b/backend/internal/certificate.js @@ -1041,6 +1041,8 @@ const internalCertificate = { const mainCmd = certbotCommand + ' revoke ' + '--config "' + letsencryptConfig + '" ' + + '--work-dir "/tmp/letsencrypt-lib" ' + + '--logs-dir "/tmp/letsencrypt-log" ' + '--cert-path "/etc/letsencrypt/live/npm-' + certificate.id + '/fullchain.pem" ' + '--delete-after-revoke ' + (letsencryptStaging ? '--staging' : '');