Added nginx CT

This commit is contained in:
2021-09-21 00:37:58 +00:00
parent 361661babf
commit f46df35d6d
12 changed files with 278 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/ash
read -p "Enter the E-Mail to use for LE: " email
openssl dhparam -dsaparam -out /etc/acmesh/certs/ssl-dhparams.pem 4096
#Setup LE account in Acme.sh
/opt/acmesh/acme.sh --config-home "/etc/acmesh/data" --register-account
/opt/acmesh/acme.sh --config-home "/etc/acmesh/data" --update-account --accountemail "$email"
#Update ReadMe
echo 'Use `ash /opt/AddDomain.sh` to add domains, and install SSL certs' > ~/ReadMe