How to update Certbot version?

偶尔善良 提交于 2019-12-08 15:41:41

问题


I am running certbot --apache but I get the following error:

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.

Version installed is 0.10.2 on Debian 8.10

I would like to upgrade to 0.21.0 which should fix the issue https://community.letsencrypt.org/t/certbot-0-21-0-release/50725

but I tried apt-get update/upgrade and I get the following:

certbot is already the newest version.
certbot set to manually installed.

Any suggestions on how to update?


回答1:


Not sure how I missed this. From the install docs 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:


A bit of background from Let's Encrypt

Unfortunately, Let's Encrypt has stopped offering the mechanism that Certbot's Apache and Nginx plugins use to prove you control a domain due to a security issue

To get around this on an existing L.E installation before the updates, follow this solution if you're on Debian/Ubuntu:

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



回答3:


On debian Stretch, just use:

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



回答4:


On MacOS, use the following command to install certbot:

brew install certbot

Or if you have already installed certbot, use the following command to upgrade

brew upgrade certbot


来源:https://stackoverflow.com/questions/48997079/how-to-update-certbot-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!