|
发表于 2023-11-7 10:31:54
|
显示全部楼层
本帖最后由 chenxin 于 2023-11-7 10:33 编辑
curl https://get.acme.sh | sh -s email=邮箱
acme.sh --upgrade --auto-upgrade
acme.sh --set-default-ca --server letsencrypt
export CF_Token=你的cftoken
export CF_Account_ID=你的cf account id
source ~/.bashrc
acme.sh --issue -d xxx.com -d *.xxx.com --dns dns_cf -k ec-256
mkdir -p /etc/nginx/tls
acme.sh --installcert -d xxx.com -d *.xxx.com --fullchain-file /etc/nginx/tls/www.xxx.com.crt --key-file /etc/nginx/tls/www.xxx.com.key --ecc --reloadcmd "chmod -R 777 /etc/nginx/tls && nginx -s reload"
我的配置给你参考一下,不知道咋发代码。。。。 |
|