美文网首页
网站使用Let's Encrypt的HTTPS证书

网站使用Let's Encrypt的HTTPS证书

作者: ouyangan | 来源:发表于2017-07-18 17:41 被阅读41次

github上开源了一个非常好用的Let's Encrypt工具certbot,对常用web服务器提供了一站式的插件

image.png
  • 依次执行命令 ,例如
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-nginx 
$ sudo certbot --nginx
$ sudo certbot --nginx certonly
$ sudo certbot renew --dry-run
$ certbot renew 
  • certbot会自动更新nginx配置文件 ,插入支持https的配置.
image.png

相关文章

网友评论

      本文标题:网站使用Let's Encrypt的HTTPS证书

      本文链接:https://www.haomeiwen.com/subject/opmhkxtx.html