Upgrade Amazon Linux 2

After receiving the “Action required: Let’s Encrypt certificate renewals” email, I checked and saw that my certbot version is 0.27.1, meaning that I have to upgrade certbot, according to How to stop using TLS-SNI-01 with Certbot .

The Let’s Encrypt installation is on an Amazon Linux 2 server. Is anyone aware of where instructions have been posted on how to accomplish this upgrade, or could anyone be kind enough to explain how this is done?

Thank you!

I don’t use “Amazon Linux 2 server”.
But generally Linux is Linux.
So, have you tried:

sudo apt update
sudo apt upgrade

or
sudo apt-get update
sudo apt-get upgrade

1 Like

I’m starting to think that I’ll need to do the EPEL version of what you’re suggesting: Help with certbot on the new “Amazon Linux 2”

Does
sudo apt update
do anything?

Do you use yum ?

Yes, on this operating system yum is used and not apt. I think that I will need to update certbot from the EPEL packages, as suggested in the link that I posted in the earlier comment.

Certbot 0.27.1 can be used with http authentication.
So you should try that out before making too many changes.
You can force it with the --dry-run test.
[which will test both the client and the path for http correctness]

For anyone who might come across this in the future:

I just needed to execute

sudo yum update certbot

Although:

sudo yum install python2-acme

also needed to be executed before the update succeeded. The way to prove that the update was successful is to execute

sudo certbot renew --dry-run

1 Like

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