9 lines
427 B
Bash
9 lines
427 B
Bash
#!/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 |