1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| export Ali_Key="你的key" export Ali_Secret="你的密钥"
source ~/.bashrc
~/.acme.sh/acme.sh --issue --dns dns_ali -d foxhello.com -d *.foxhello.com
# 更新nginx配置 sl_certificate /path/*.example.com/fullchain.cer; ssl_certificate_key /path/*.example.com/*.example.com.key;
acme.sh --set-default-ca --server letsencrypt acme.sh --set-default-ca --server zerossl
acme.sh -i -d foxhello.com --key-file /root/file/foxhello.key --fullchain-file /root/file/foxhello.crt --ca-file /root/file/foxhello.ca.crt
# 命令失败时,参考-k ec-256参数 ~/.acme.sh/acme.sh --issue --dns dns_cf -d "*.foxhello.com" -d "foxhello.com" -k ec-256 ~/.acme.sh/acme.sh --install-cert -d "*.foxhello.com" --key-file /root/sign/ssl/foxhello.com/foxhello.com.key --fullchain-file /root/sign/ssl/foxhello.com/foxhello.com.crt --ca-file /root/sign/ssl/foxhello.com/foxhello.com.ca.crt --ecc
|