Replaced certbot with ACME.sh
This commit is contained in:
1 parent
f3701924f0
commit
1d7bc1e387
7 files changed
+10
-12
No files matched your search
@@ -27,9 +27,9 @@ systemctl reload $webservice
|
||||
|
||||
#Enabling SSL
|
||||
if [ $domainwww = 1 ]; then
|
||||
certbot --"$webserv" certonly -n -d "$domain" -d "www.$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
/opt/acmesh/acme.sh --config-home '/etc/acmesh/data' --issue --"$certwebserv" --ocsp --keylength 'ec-384' -d "$domain" -d "www.$domain"
|
||||
elif [ $domainwww = 0 ]; then
|
||||
certbot --"$webserv" certonly -n -d "$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
/opt/acmesh/acme.sh --config-home '/etc/acmesh/data' --issue --"$certwebserv" --ocsp --keylength 'ec-384' -d "$domain"
|
||||
fi
|
||||
|
||||
#Restoring config
|
||||
|
||||
Reference in new issue
Block a user