From c47eaf101cbd9e3b42f37583051136dbd3f446d1 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Mon, 30 Nov 2015 11:42:10 +0100 Subject: [PATCH] should be _.example.com - wirdcard --- 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 3a8e14f..796554c 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -273,7 +273,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-generated && " + "mkdir -p $PEMS_DIR && " + "cd $PEMS_DIR && " - + "( ls " + domName + ".crt || ( echo \"\" > _." + domName + ".chain && " + + "( 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 ) ) &&" + "chmod 400 _." + domName + "*"), new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && "