Let’s Encrypt is a free, automated, and open Certificate Authority.
I'm using acme.sh to issue/renew let's encrypt's cert.
curl https://get.acme.sh | sh
acme.sh --issue -d [domain] -w /path/to/webroot
acme.sh 会添加 acme.sh –cron
命令到 crontab,每日判断域名是否更新,判断文件在 $HOME/.acme.sh/[domain]/[domain].conf
,每次更新的间隔为60天
如没有设置 reloadcmd
可以直接在该文件中补上:
Le_ReloadCmd='service nginx reload'