新增凤凰城节点
This commit is contained in:
14
2-NGINX相关/107423.xyz/23-申请证书.sh
Normal file
14
2-NGINX相关/107423.xyz/23-申请证书.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
export DOMAIN_NAME=xx.t2.ll.c0.107423.xyz
|
||||
|
||||
export CF_Token="P1S8SgbXKWO2ScUKxu_EoHxI5FOebs6X6IuiO1lq"
|
||||
export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191"
|
||||
export CF_Zone_ID="9383610816ba5c796ce201dfe1603fcb"
|
||||
|
||||
acme.sh --issue --dns dns_cf -d ${DOMAIN_NAME} --keylength ec-256 --dnssleep 30
|
||||
|
||||
|
||||
acme.sh --install-cert -d ${DOMAIN_NAME} --ecc \
|
||||
--key-file /etc/nginx/conf.d/ssl_key/${DOMAIN_NAME}.key.pem \
|
||||
--fullchain-file /etc/nginx/conf.d/ssl_key/${DOMAIN_NAME}.cert.pem \
|
||||
--reloadcmd "systemctl restart nginx --force"
|
||||
Reference in New Issue
Block a user