should be _.example.com - wirdcard

This commit is contained in:
Peter Hormanns 2015-11-30 11:42:10 +01:00
parent 600a230336
commit c47eaf101c

View File

@ -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 && "