From 06a1f4db8c07e54867cd232e3d5495b9ce18fa74 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Fri, 26 Apr 2013 10:00:39 -0400 Subject: [PATCH] fixed default-ssl missing bug. --- templates/setup-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/setup-functions b/templates/setup-functions index 8aee115..de45931 100644 --- a/templates/setup-functions +++ b/templates/setup-functions @@ -72,7 +72,7 @@ cd $WD } Config_Apache2_Default_SSL () { ### configure Apache2 default-ssl vhost for our certs. -if [ -e etc/apache2/sites-available/default-ssl ] +if [ -e /etc/apache2/sites-available/default-ssl ] then sed -i 's^SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem^SSLCertificateFile ssl/server.crt^g' /etc/apache2/sites-available/default-ssl sed -i 's^SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key^SSLCertificateFile ssl/server.key^g' /etc/apache2/sites-available/default-ssl -- 2.11.0