使用 acme 工具免费申请 SSL 证书

#curl https://get.acme.sh | sh

#vim ~/.bashrc

export CF_Key=”your_cloudflare_api_key”

export CF_Email=”your_email_address”

#source ~/.bashrc

#acme.sh –register-account -m [email protected] acme.sh –issue –dns dns_cf -d your_domain.com –debug

#acme.sh –install-cert -d your_domain.com –key-file /home/user/.acme.sh/your_domain.com_ecc/your_domain.com.key –fullchain-file /home/user/.acme.sh/your_domain.com_ecc/your_domain.com.cer –reloadcmd “sudo nginx -s reload”