修改邮箱地址,取消使用letsencrypt申请证书
This commit is contained in:
parent
8d1c3bd006
commit
99d7379ef3
4
xray.sh
4
xray.sh
@ -549,10 +549,10 @@ getCert() {
|
|||||||
systemctl start cron
|
systemctl start cron
|
||||||
systemctl enable cron
|
systemctl enable cron
|
||||||
fi
|
fi
|
||||||
curl -sL https://get.acme.sh | sh -s email=hijk.pw@protonmail.sh
|
curl -sL https://get.acme.sh | sh -s email=vincent0214001@gmail.sh
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
~/.acme.sh/acme.sh --upgrade --auto-upgrade
|
~/.acme.sh/acme.sh --upgrade --auto-upgrade
|
||||||
~/.acme.sh/acme.sh --set-default-ca --server letsencrypt
|
# ~/.acme.sh/acme.sh --set-default-ca --server letsencrypt
|
||||||
if [[ "$BT" = "false" ]]; then
|
if [[ "$BT" = "false" ]]; then
|
||||||
~/.acme.sh/acme.sh --issue -d $DOMAIN --keylength ec-256 --pre-hook "systemctl stop nginx" --post-hook "systemctl restart nginx" --standalone --httpport 9999
|
~/.acme.sh/acme.sh --issue -d $DOMAIN --keylength ec-256 --pre-hook "systemctl stop nginx" --post-hook "systemctl restart nginx" --standalone --httpport 9999
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user