Files
shell-scripts/v2ray示例/Xray-中级方案/香港证书申请模板.txt
2023-10-01 11:29:33 +08:00

12 lines
490 B
Plaintext

export DOMAIN_NAME=xx.tc.hk.go.107421.xyz
export CF_Token="oXJRP5XI8Zhipa_PtYtB_jy6qWL0I9BosrJEYE8p"
export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191"
export CF_Zone_ID="511894a4f1357feb905e974e16241ebb"
acme.sh --issue --dns dns_cf -d ${DOMAIN_NAME} --keylength ec-256
chmod -R 644 /root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer
chmod 644 /root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key
systemctl restart xray && sleep 1 && systemctl status xray