跳至主要內容

使用Let's Encrypt配置nginx证书

postnginx小于 1 分钟

使用Let's Encrypt配置nginx证书

Automatically enable HTTPS on your website with EFF's Certbot, deploying Let's Encrypt certificates

主要参考:https://certbot.eff.org/lets-encrypt/centosrhel7-nginxopen in new window

操作起来很简单,主要用到了下面的命令:

sudo yum install nginx
sudo certbot --nginx
sudo certbot renew --dry-run
0 0 1 * * certbot renew --post-hook "/usr/sbin/nginx -s reload"

版权申明

本站点所有内容,版权均归https://wenchao.renopen in new window所有,除非明确授权,否则禁止一切形式的转载协议

打赏

微信 支付宝

上次编辑于:
打赏
给作者赏一杯咖啡吧
您的支持将是我继续更新下去的动力
微信微信
支付宝支付宝