如何更新Certbot版本?

问题描述 投票:18回答:4

我正在运行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.

在Debian 8.10上安装的版本是0.10.2

我想升级到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.

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

ubuntu debian certbot
4个回答
23
投票

不知道我是怎么错过这个的。从安装文档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

2
投票

一点背景from Let's Encrypt

不幸的是,Let's Encrypt已停止提供Certbot的Apache和Nginx插件用于证明您因安全问题而控制域的机制

要在更新之前在现有的L.E安装上解决这个问题,请关注this solution,如果您使用的是Debian / Ubuntu:

certbot --authenticator standalone --installer apache -d <yourdomain(s)> --pre-hook "apache2ctl stop" --post-hook "apache2ctl start

1
投票

在debian Stretch上,只需使用:

apt-get install python-certbot-apache -t stretch-backports

0
投票

在MacOS上,使用以下命令安装certbot:

brew install certbot

或者,如果您已安装certbot,请使用以下命令进行升级

brew upgrade certbot
© www.soinside.com 2019 - 2024. All rights reserved.