From 2e417d2afaadca3e5c98ae7e7c801ecf805dc3a8 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 27 Jun 2017 18:25:46 +0200 Subject: [PATCH] fix --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 21c57f3..3fcc7c6 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -278,7 +278,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { + "( ls " + domName + ".crt || ( echo \"\" >" + domName + ".chain && " + "openssl req -x509 -newkey rsa:4096 -sha256 -subj '/CN=" + domName + "' -keyout " + domName + ".key -out " + domName + ".crt -days 1 -nodes) ) && " + "chmod 660 " + domName + ".* && " - + "chown root:acmebot" + domName + "*" ), + + "chown root:acmebot " + domName + "*" ), new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && " + "mkdir -p $PEMS_DIR && " + "cd $PEMS_DIR && "