Explorar o código

Add missing args to certbot command, was causing failures in rovokation

Jamie Curnow hai 1 ano
pai
achega
834fb1a361
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      backend/internal/certificate.js

+ 2 - 0
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' : '');