Main:AppendCMS added fix for #12, Forgotten this

This commit is contained in:
2021-03-25 12:17:05 +01:00
parent dda74005f5
commit f27c55336e

View File

@@ -272,6 +272,8 @@ msg " Setting up SSL"
if test $certsatus -eq 0
then
site_ext="ssl"
mkdir -p /etc/acmesh/inst/$domain
/opt/acmesh/acme.sh --config-home '/etc/acmesh/data' --install-cert --ecc --domain $domain --cert-file /etc/acmesh/inst/$domain/cert.pem --key-file /etc/acmesh/inst/$domain/key.pem --ca-file /etc/acmesh/inst/$domain/ca.cer --fullchain-file /etc/acmesh/inst/$domain/fullchain.pem --reloadcmd 'systemctl reload $(cat /etc/ICTM/SslServices)'
else
site_ext="nossl"
rm -rf /etc/acmesh/certs/$domain*