Strings fixed.
This commit is contained in:
parent
385c02fd53
commit
7a8cc5246c
@ -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 && "
|
||||
|
Loading…
Reference in New Issue
Block a user