How can I upgrade to latest version of certbot, acme, cloudflare?

I installed everything via apt-get but it’s not installing the latest versions. I’d like to use Cloudflare’s capability of providing an API token to modify just a zone instead of providing a Global API Key that can modify every zone but it requires a more recent version than the one I have installed. How can I install the latest version of certbot, cloudflare, etc?

I installed certbot, nginx and cloudflare plugin by running
sudo apt-get install python3-certbot-nginx certbot python3-certbot-dns-cloudflare python3-certbot python3-acme python3-cloudflare

Here it says I need cloudflare 2.3.1 or above in order to use API token from Cloudflare so I don’t have to supply to Global API key. https://certbot-dns-cloudflare.readthedocs.io/en/stable/

I tried manaully upgrade the pip packages but it broke everything so I removed and re/installed from apt. Here is the current:
acme==0.31.0
certbot==0.31.0
certbot-dns-cloudflare==0.23.0
certbot-nginx==0.31.0
cloudflare==2.1.0

Here are the installed packages via apt:
certbot/stable,now 0.31.0-1 all [installed]
python3-acme/stable,now 0.31.0-2 all [installed]
python3-certbot-dns-cloudflare/stable,now 0.23.0-2 all [installed]
python3-certbot-nginx/stable,now 0.31.0-1 all [installed]
python3-certbot/stable,now 0.31.0-1 all [installed]
python3-cloudflare/stable,now 2.1.0-1 all [installed]

My web server is (include version): nginx version: nginx/1.14.2

The operating system my web server runs on is (include version): Raspbian debian 10

I can login to a root shell on my machine (yes or no, or I don’t know): yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.31.0

1 Like

Probably (I didn’t check) the Raspbian repository doesn’t have more recent versions. You’ll just have to wait until the maintainer takes the time to make and upgrade the packages more recent versions.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.