Strings fixed.

This commit is contained in:
Michael Hierweck 2017-06-27 13:31:41 +02:00
parent 385c02fd53
commit 7a8cc5246c

View File

@ -276,8 +276,8 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
+ "mkdir -p $PEMS_DIR && " + "mkdir -p $PEMS_DIR && "
+ "cd $PEMS_DIR && " + "cd $PEMS_DIR && "
+ "( ls " + domName + ".crt || ( echo \"\" >" + domName + ".chain && " + "( 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) ) && + "openssl req -x509 -newkey rsa:4096 -sha256 -subj '/CN=" + domName + "' -keyout " + domName + ".key -out " + domName + ".crt -days 1 -nodes) ) && "
+ "chmod 660 " + domName + "*" && " + "chmod 660 " + domName + ".* && "
+ "chown root:acmebot" + domName + "*" ), + "chown root:acmebot" + domName + "*" ),
new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && " new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && "
+ "mkdir -p $PEMS_DIR && " + "mkdir -p $PEMS_DIR && "