how to safely update certbot

I run Webmin 1.872 on Ubuntu 14.04, and Certbot 0.13.0.

I notice my Certbot version is quite old. How can I safely upgrade it to the latest version? apt-get dist-upgrade does not find anything new. The Certbot repository is included in my source list: deb http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main

Last month Letsencrypt renewals for all my domains began to fail with the error info shown below:

Requesting a certificate for aqadvisories.ca, www.aqadvisories.ca, openburning.ca, www.openburning.ca from Let's Encrypt .. .. request failed : Web-based validation failed : usage: letsencrypt-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the cert. certbot: error: unrecognized arguments: --max-log-backups 0 DNS-based validation failed : usage: letsencrypt-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the cert. certbot: error: unrecognized arguments: --max-log-backups 0

Status: 
Closed (fixed)

Comments

Ah! A hint from another forum showed someone else with this problem who found two different versions of certbot on their system.

I did a search and found two versions. The one in /usr/bin/ is version 0.21.1.

I'll adjust the location in Webmin Configuration and see what happens.

Adjusting the path in Webmin Configuration solved my Letsencrypt cert update issue.

Status: Active ยป Closed (fixed)