DEV Community

Cover image for How to update Certbot on Debian 11
Fran Quinto
Fran Quinto

Posted on

4

How to update Certbot on Debian 11

Description of the problem

In Debian 11 your CertBot version is: https://packages.debian.org/bullseye/certbot
(on 28th August 2022 = 1.12.0)

Last release: https://github.com/certbot/certbot/releases
(on 28th August 2022 = 1.29.0)

In Debian 11 CertBot is outdated. First step: if installed, remove it:

sudo apt remove certbot -y
Enter fullscreen mode Exit fullscreen mode

Installation of CertBot

  1. Install Snapd manager: sudo apt install snapd -y
  2. Install Snap core & refresh: sudo snap install core; sudo snap refresh core
  3. Install CertBot: sudo snap install --classic certbot
  4. Setup link in your Debian: sudo ln -s /snap/bin/certbot /usr/bin/certbot

Check version CertBot installed

1.- View version: sudo certbot --version
Output: certbot 1.29.0

Using manually

In next command replace: yourmail@example.com for your email. And *.example.com for your domain

sudo certbot certonly --manual --preferred-challenges=dns --email yourmail@example.com --agree-tos -d *.example.com
Enter fullscreen mode Exit fullscreen mode

Finally follow CertBot steps in your command line.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay