|
@@ -554,7 +554,7 @@ function script_to_make_self_signed_certificates {
|
554
|
554
|
echo 'chmod 640 /etc/ssl/certs/$HOSTNAME.dhparam' >> /usr/bin/makecert
|
555
|
555
|
echo 'if [ -f /etc/init.d/nginx ]; then' >> /usr/bin/makecert
|
556
|
556
|
echo ' /etc/init.d/nginx reload' >> /usr/bin/makecert
|
557
|
|
- echo 'fi'
|
|
557
|
+ echo 'fi' >> /usr/bin/makecert
|
558
|
558
|
echo '# add the public certificate to a separate directory' >> /usr/bin/makecert
|
559
|
559
|
echo '# so that we can redistribute it easily' >> /usr/bin/makecert
|
560
|
560
|
echo 'if [ ! -d /etc/ssl/mycerts ]; then' >> /usr/bin/makecert
|