如何更新Certbot版本?

xyl*_*lar 23 ubuntu debian certbot

我正在运行,certbot --apache但我收到以下错误:

Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
Client with the currently selected authenticator does not support any 
combination of challenges that will satisfy the CA.
Run Code Online (Sandbox Code Playgroud)

安装的版本0.10.2在Debian 8.10上

我想升级到0.21.0,这应该解决问题https://community.letsencrypt.org/t/certbot-0-21-0-release/50725

但我尝试了apt-get update/upgrade,我得到以下内容:

certbot is already the newest version.
certbot set to manually installed.
Run Code Online (Sandbox Code Playgroud)

有关如何更新的任何建议?

xyl*_*lar 26

不知道我是怎么错过这个的.从安装文档https://certbot.eff.org/docs/install.html#certbot-auto

user@webserver:~$ wget https://dl.eff.org/certbot-auto
user@webserver:~$ chmod a+x ./certbot-auto
user@webserver:~$ ./certbot-auto --help
Run Code Online (Sandbox Code Playgroud)

  • 这个答案不再正确。更新版本在这里:https://certbot.eff.org/instructions 例如(对于 Ubuntu 20.04):https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx (4认同)
  • 不再支持 certbot-auto (2认同)

Tar*_*rik 7

您可以检查您的软件版本,但这有效:

sudo apt-get update -y
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update -y
sudo apt-get install certbot python-certbot-apache
certbot --version
Run Code Online (Sandbox Code Playgroud)

https://certbot.eff.org/lets-encrypt/ubuntuxenial-apache


Pra*_*ant 6

sudo apt update
sudo apt install --only-upgrade certbot
Run Code Online (Sandbox Code Playgroud)

使用 nginx 在 ubuntu 上尝试过,对我来说没有问题。

  • 我还应该注意:这最终进入了_低质量帖子_队列以供审核,并且至少还有另外一个人投票删除了它。我投票赞成维持它,因为它真诚地努力回答这个问题。但添加解释也将有助于确保比我更严格的审稿人不会投票删除它。 (3认同)
  • 请编辑您的答案以提供解释。您肯定知道,这在 Stack Overflow 上_总是_有用,但在这里_尤其__有用,这里有四个现有答案,其中包括一个获得 40 多个赞成票的已接受答案。是什么让你的答案与众不同?在什么情况下,您的答案会优于现有方法?请记住,每个新答案都会添加另一个帖子,有此问题的人需要评估:让他们更容易理解差异,以及为什么他们应该考虑您的代码而不是其他代码。 (2认同)