feat: 简单改为修改使用的ssl目录为加_ecc后缀

This commit is contained in:
yexinhao 2023-02-05 18:38:34 +08:00
parent 60134a7338
commit 9f7cdb4f23

View File

@ -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加速