diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 796554c..df49dec 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -274,7 +274,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { + "mkdir -p $PEMS_DIR && " + "cd $PEMS_DIR && " + "( ls _." + domName + ".crt || ( echo \"\" > _." + domName + ".chain && " - + "openssl req -x509 -newkey rsa:2048 -keyout _." + domName + ".key -out _." + domName + ".crt -days 1100 -nodes -sha256 -config /tmp/openssl-sna.cnf ) ) &&" + + "openssl req -x509 -newkey rsa:2048 -keyout _." + domName + ".key -out _." + domName + ".crt -days 1100 -nodes -sha256 -config /tmp/openssl-sna.cnf ) ) && " + "chmod 400 _." + domName + "*"), new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && " + "mkdir -p $PEMS_DIR && "