使用Let's Encrypt配置nginx证书
小于 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-nginx
操作起来很简单,主要用到了下面的命令:
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.ren所有,除非明确授权,否则禁止一切形式的转载协议
打赏