ACME
install
ref: https://www.logdict.com/archives/acme.shshi-yong-cloudflarezi-dong-qian-fa-mian-fei-sslzheng-shu
git clone https://github.com/acmesh-official/acme.sh.git
mkdir /root/.acme.sh
# 设置环境变量
export CF_Token=""
export CF_Account_ID=""
export CF_Zone_ID=""
cd acme.sh
./acme.sh --set-default-ca --server letsencrypt
./acme.sh --issue --dns dns_cf -d {your_domain}
log & get_files
[Tue Dec 24 03:45:21 UTC 2024] Your cert is in: /root/.acme.sh/*****/*****.cer
[Tue Dec 24 03:45:21 UTC 2024] Your cert key is in: /root/.acme.sh/*****/*****.key
[Tue Dec 24 03:45:21 UTC 2024] The intermediate CA cert is in: /root/.acme.sh/*****/ca.cer
[Tue Dec 24 03:45:21 UTC 2024] And the full chain certs is there: /root/.acme.sh/*****/fullchain.cer