nicer bash code
This commit is contained in:
parent
c47eaf101c
commit
b94f19caba
@ -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 && "
|
||||
|
Loading…
Reference in New Issue
Block a user