From b60a207aec7d110f4dfb176371a7bf00b91cfdf1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Mon, 9 Jul 2018 11:37:43 +0200 Subject: [PATCH] ODT - fix getcrl cron --- customer/mbvd-odt/tmp-odt-daimler-com.pixelpark.net.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/customer/mbvd-odt/tmp-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/tmp-odt-daimler-com.pixelpark.net.yaml index c7e002b3..fec29d8d 100644 --- a/customer/mbvd-odt/tmp-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/tmp-odt-daimler-com.pixelpark.net.yaml @@ -113,9 +113,15 @@ infra::profile::apache::pp_vhosts: # - ip 37.202.1.232 infra::profile::cron::cronjobs: + gencrl: + user: nobody + command: '/usr/bin/curl -H "Authorization: basic cGtpYWRtaW46cHAjMjAxNCFvZHQtQmVybGlu" "https://odt-tinyca.pixelpark.net/phpki/ca/index.php?stage=gen_crl" > /dev/null 2>&1' + minute: 0 + hour: 4 + description: generate crl fetchcrl: user: root - command: 'scp httpd@odt-tinyca:/www/htdocs/odt-tinyca.pixelpark.net/data/phpki-store/CA/crl/cacrl.pem /etc/pki/tls/certs/odt-cacrl.pem && systemctl reload httpd' + command: 'scp httpd@odt-tinyca:/www/htdocs/odt-tinyca.pixelpark.net/data/phpki-store/CA/crl/cacrl.pem /etc/apache2/ssl.crl/odt-cacrl.pem && systemctl reload apache2' minute: 0 hour: 5 description: um 05:00 Uhr wird die Revocationlist vom User openemm geholt. somit muss der Webserver restarted werden -- 2.39.5