From 7a8cc5246c75e2a3976de255e64ca16c96fd30e3 Mon Sep 17 00:00:00 2001 From: Michael Hierweck Date: Tue, 27 Jun 2017 13:31:41 +0200 Subject: [PATCH] Strings fixed. --- .../src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 2ff02d0..0f1d4be 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -276,9 +276,9 @@ public class DomainProcessorFactory implements EntityProcessorFactory { + "mkdir -p $PEMS_DIR && " + "cd $PEMS_DIR && " + "( 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 + "*" ), + + "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 + "*" ), new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && " + "mkdir -p $PEMS_DIR && " + "cd $PEMS_DIR && "