我是靠谱客的博主 斯文书本,这篇文章主要介绍ubuntu上使用certbot安装ssl证书到nginx1.简介2.安装snap3.安装certbot,现在分享给大家,希望可以做个参考。

文档:Certbot Instructions | Certbot

1.简介

Certbot 是一种免费的开源软件工具

用于在手动管理的网站上自动使用Let's Encrypt证书以启用 HTTPS。

Certbot 每 60 天更新一次证书。

这里选择普通的安装,而不是通配符模式。

2.安装snap

certbot作为snap分发包安装,很多linux发行版内置了snap,如ubuntu

sudo snap install core; sudo snap refresh core
core 16-2.52.1 from Canonical✓ installed
snap "core" has no updates available

3.安装certbot

移除已安装的certbot

sudo apt-get remove certbot

安装certbot

sudo snap install --classic certbot
certbot 1.22.0 from Certbot Project (certbot-eff✓) installed

设置命令

sudo ln -s /snap

最后

以上就是斯文书本最近收集整理的关于ubuntu上使用certbot安装ssl证书到nginx1.简介2.安装snap3.安装certbot的全部内容,更多相关ubuntu上使用certbot安装ssl证书到nginx1内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(58)

评论列表共有 0 条评论

立即
投稿
返回
顶部