简介
- 利用openssl生成的自定义证书会出现安全问题验证,可以利用Let's Encrypt证书生成3个月有效期的签发证书,该机构是免费机构。
安装
apt install certbot
生成证书
certbot certonly --standalone -d xxxxx.com
- 输入邮箱
- 同意条款
- 同意是否给邮箱发送"广告"
手动续期
certbot renew
- 需要注意不能占用80端口
自动续期
- 利用crontab定时任务写个更新脚本
apt install certbot
certbot certonly --standalone -d xxxxx.com
certbot renew
评论 (0)
还没有评论,来抢沙发吧。
发表评论