我以前在Ubuntu上安装了Certbot,但是我相信这个包还不能用于这个发行版,所以我相信我是从一个预先构建的包中安装的(也许,我真的不确定)。无论如何,我现在安装了certbot 0.26.1:
certbot --version
certbot 0.26.1我尝试使用下面的指南来安装它:https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx
以下是当前系统的一些输出:
apt-get install python-certbot-nginx
python-certbot-nginx is already the newest version (0.28.0-1+ubuntu18.04.1+certbot+3).
certbot --version
certbot 0.26.1
which certbot
/usr/bin/certbot
dpkg-query -L python-certbot-nginx
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-certbot-nginx
/usr/share/doc/python-certbot-nginx/changelog.Debian.gz
/usr/share/doc/python-certbot-nginx/copyright所以在我看来,“nginx”包没有安装任何二进制文件。我在这里做错了吗?我有一些完全不同的包可以升级(例如MySQL,PHP),但我只能在这个星期天升级这些包。但我相信这与我的问题完全无关。谢谢!
发布于 2019-01-28 11:05:40
尝试使用以下命令(如果需要,将-nginx替换为-apache )以获得CertBot的最新版本:
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt update如果这是一个新安装,或者升级您系统上的所有软件包都不是问题:
sudo apt install python-certbot python-certbot-nginx
sudo apt install python3-certbot python3-certbot-nginx
sudo apt upgrade如果不想升级系统中的所有软件包,则可以使用:
sudo apt install --only-upgrade python-certbot python-certbot-nginx
sudo apt install --only-upgrade python3-certbot python3-certbot-nginx 参考文献:
更新的原因-让我们加密通讯:
TLS-SNI-01验证已接近尾声.它将于2019年2月13日暂时停止工作,并于2019年3月13日永久停止工作。在此之前签发的任何证书将在签发之日后继续工作90天。您需要在此日期之前更新您的ACME客户端以使用替代验证方法(HTTP-01、DNS-01或TLS-ALPN-01),否则您的证书更新将中断,现有证书将开始过期。我们的暂存环境已经禁用了TLS-SNI-01,所以如果您想测试您的系统在2月13日后是否能工作,您可以使用https://letsencrypt.org/docs/staging-environment/:如果您是Certbot用户,您可以在这里找到更多的信息:https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210我们的论坛有很多关于这个主题的线程。请搜索您的问题是否已被回答,然后打开一个新线程,如果没有:https://community.letsencrypt.org/有关TLS-SNI-01寿命结束的更多信息,请参阅我们的API公告:https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209。
https://askubuntu.com/questions/1113499
复制相似问题