Added nginx CT
This commit is contained in:
9
CT-Files/nginx/Scripts/FirstRun.sh
Normal file
9
CT-Files/nginx/Scripts/FirstRun.sh
Normal 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
|
||||
Reference in New Issue
Block a user