从小泰迪LAMP 一键脚本制作见到的,现阶段其脚本制作已适用全自动签发并继签,这儿提一下如何根据Certbot签发
现阶段签发方法:和lets类似根据Certbot或acme.sh签发,官方网出示API。
合理期:大半年(可全自动续签)
检测站点见最正下方
官方网站英语实例教程
1.你还可以能看Certbot官方网站的实例教程
2、实行指令
apt-get remove certbot wget certbot-auto chmod a+x certbot-auto签发指令
1、签发指令
./certbot-auto register -m 'YOUR_EMAIL' --agree-tos --server 'acme/directory' ./certbot-auto certonly --standalone --email '电子邮箱' -d '网站域名' --server 'acme/directory'
2、輸出結果 去文件目录找资格证书就可以了
IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/buypass.oregai.ru/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/buypass.oregai.ru/privkey.pem Your cert will expire on 2019-06-29. To obtain a new or tweaked version of this certificate in the future, simply run certbot-auto again. To non-interactively renew *all* of your certificates, run "certbot-auto renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: donate Donating to EFF: donate-le检测及表明
基础理论讲常见的脚本制作acme.sh还可以完成这一作用。可是官方网实例教程应用Certbot的。提议浏览官方网实例教程获得大量指令