使用 certbot 免费 https 站点证书

Linux 下以包管理命令安装 certbot,和 certbot nginx 扩展,这里用的 nginx 作为 Web 服务器。

执行

certbot --nginx

按提示逐步输入内容,自动为 nginx 服务器获取并配置 https 证书。

证书有效期三个月,certbot 包会启动一个服务自动刷新证书。

原文地址:https://www.cnblogs.com/silvestris/p/15116026.html