From e12995192b86829cab523cc64d76775d4810c89d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zolt=C3=A1n=20Felleg?= Date: Tue, 2 Jun 2020 16:03:11 +0200 Subject: [PATCH] Updated ws.pm (updated certbot apache configuration). --- sources/ws.pm/firstboot/10_certbot.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sources/ws.pm/firstboot/10_certbot.sh b/sources/ws.pm/firstboot/10_certbot.sh index 620271b..0393d05 100755 --- a/sources/ws.pm/firstboot/10_certbot.sh +++ b/sources/ws.pm/firstboot/10_certbot.sh @@ -21,9 +21,7 @@ certbot certonly \ -d svn.useribm.hu \ -d svn.userrendszerhaz.hu \ -d useribm.hu \ - -d userrendszerhaz.hu \ -d www.useribm.hu \ - -d www.userrendszerhaz.hu \ -m zoltan.felleg@userrendszerhaz.hu RC=$? echo "RC: $RC" @@ -34,9 +32,12 @@ then cf=$(echo $f | sed 's/^\(.*\).le$/\1/') mv $f $cf done - cp --archive /usr/lib/python3.7/site-packages/certbot_apache/options-ssl-apache.conf /etc/letsencrypt - systemctl enable httpd.service - systemctl start httpd.service + /usr/bin/cp \ + --archive \ + /usr/lib/python3.8/site-packages/certbot_apache/_internal/tls_configs/current-options-ssl-apache.conf + /etc/letsencrypt/options-ssl-apache.conf systemctl enable certbot-renew.timer systemctl start certbot-renew.timer + systemctl enable httpd.service + systemctl start httpd.service fi -- 2.54.0