mirror of
https://github.com/amark/gun.git
synced 2025-06-13 01:26:44 +00:00
10 lines
350 B
Bash
10 lines
350 B
Bash
#!/bin/bash
|
|
echo $EMAIL
|
|
echo $WEBROOT
|
|
echo $DOMAIN
|
|
|
|
cd ~
|
|
git clone https://github.com/acmesh-official/acme.sh.git
|
|
bash ./acme.sh/acme.sh --install -m $EMAIL
|
|
bash ./acme.sh/acme.sh --issue -d $DOMAIN -w $WEBROOT
|
|
bash ./acme.sh/acme.sh --install-cert -d $DOMAIN --key-file ~/key.pem --fullchain-file ~/cert.pem --reloadcmd "service relay force-reload"~ |