From bd26e6e22a755bc6645f37d8c8a29fa16704f0d6 Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Tue, 10 Sep 2019 23:45:43 +0200 Subject: [PATCH] security/acme-client: run setup more often, refs #1491 This is required to ensure that the symlink for dns_opsense.sh exists before running acme.sh. Otherwise acme.sh would complain that it cannot find the API hook. --- .../opnsense/service/conf/actions.d/actions_acmeclient.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/acme-client/src/opnsense/service/conf/actions.d/actions_acmeclient.conf b/security/acme-client/src/opnsense/service/conf/actions.d/actions_acmeclient.conf index 7c53c1cfd..1a335c89f 100644 --- a/security/acme-client/src/opnsense/service/conf/actions.d/actions_acmeclient.conf +++ b/security/acme-client/src/opnsense/service/conf/actions.d/actions_acmeclient.conf @@ -42,7 +42,7 @@ message:testing acme_http_challenge configuration ########################################## [sign-cert] -command:/usr/sbin/daemon -f /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php -F -a sign -c +command:/usr/local/opnsense/scripts/OPNsense/AcmeClient/setup.sh; /usr/sbin/daemon -f /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php -F -a sign -c parameters:%s type:script message:signing or renewing a certificate @@ -66,13 +66,13 @@ type:script message:removing a certificate private key [sign-all-certs] -command:/usr/sbin/daemon -f /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php -a sign -A +command:/usr/local/opnsense/scripts/OPNsense/AcmeClient/setup.sh; /usr/sbin/daemon -f /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php -a sign -A parameters: type:script message:signing or renewing a certificate [cron-auto-renew] -command:/usr/sbin/daemon -f /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php -a sign -A -C +command:/usr/local/opnsense/scripts/OPNsense/AcmeClient/setup.sh; /usr/sbin/daemon -f /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php -a sign -A -C parameters: type:script message:cronjob running to sign or renew certificates