From bebbb8ac1fe4bfa9ff6518af62c993e0ac9f77f0 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 3 Apr 2024 15:21:53 -0700 Subject: [PATCH] fix path to le cert --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6f1dd62..d450d4b 100755 --- a/install.sh +++ b/install.sh @@ -82,7 +82,7 @@ DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-authnz- fqdn=`hostname -f` vhostdomain=`hostname -d` cp etc/apache2/sites-available/* /etc/apache2/sites-available/ -sed -i "s|ssl-cert-snakeoil.pem|$fqdn.pem|g" /etc/apache2/sites-available/*.conf +sed -i "s|/etc/ssl/certs/ssl-cert-snakeoil.pem|/etc/ssl/letsencrypt/$fqdn.pem|g" /etc/apache2/sites-available/*.conf chmod 644 /etc/apache2/sites-available/*.conf chown root:root /etc/apache2/sites-available/*.conf sed -i "s|webmaster@localhost|webmaster@$fqdn|g" /etc/apache2/sites-available/*.conf