From 9f7cdb4f23dfe54b8377329cd61b7b0e9744d57d Mon Sep 17 00:00:00 2001 From: yexinhao Date: Sun, 5 Feb 2023 18:38:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=AE=80=E5=8D=95=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=BF=E7=94=A8=E7=9A=84ssl=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E4=B8=BA=E5=8A=A0=5Fecc=E5=90=8E=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/update.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/update.sh b/docker/update.sh index 81893dc..2d70339 100644 --- a/docker/update.sh +++ b/docker/update.sh @@ -7,9 +7,7 @@ if [ "${ACME_ENABLED:=true}" = "true" ]; then ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \ --force --issue --cert-home ${CERT_HOME} \ -d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \ - --dns ${ACME_DNS_TYPE} \ - --key-file ${CERT_HOME}/${ACME_DOMAIN}/yevpt.com.key \ - --fullchain-file ${CERT_HOME}/${ACME_DOMAIN}/fullchain.cer + --dns ${ACME_DNS_TYPE} fi # 添加刷新url @@ -30,10 +28,10 @@ cat>${WORK_DIR}/config.py<<-EOF # acme.sh --issue -d "blog.whuzfb.cn" --dns dns_dp # 使用ACME申请的SSL完整证书的本地存放路径 -CER_FILE = "${CERT_HOME}/${ACME_DOMAIN}/fullchain.cer" +CER_FILE = "${CERT_HOME}/${ACME_DOMAIN}_ecc/fullchain.cer" # 使用ACME申请的SSL证书私钥的本地存放路径 -KEY_FILE = "${CERT_HOME}/${ACME_DOMAIN}/${ACME_DOMAIN}.key" +KEY_FILE = "${CERT_HOME}/${ACME_DOMAIN}_ecc/${ACME_DOMAIN}.key" # CDN服务配置的域名(需要提前在腾讯云网页前端创建) # 如果ACME申请的证书为泛域名证书,且要配置多个CDN加速