certbot免费证书

yum install python-certbot-nginx

 

开启防火墙443端口

firewall-cmd --add-port=443/tcp --permanent

别忘了重启

firewall-cmd --reload

 

安装证书并更新:nginx certbot --nginx
  certbot --nginx certonly
certbot renew --dry-run
更新证书有效期:certbot renew 
posted @ 2017-06-28 19:43  涉谷猫猫  阅读(1119)  评论(0编辑  收藏  举报