Can't get certbot to install!

0

I'm trying to install certbot on the instance where we have a Bitnami Trac/SVN stack and a Tomcat server installed, and when I do

yum install -y certbot python2-certbot-apache
I keep getting
No package certbot available.
No package python2-certbot-apache available.
Error: Nothing to do

But it worked fine on another (newer) instance, the one hosting our web site!

/etc/os-release on the Trac/SVN/Tomcat instance (the one where it won't install) shows:

NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

while on the web site instance (the one where it was successfully installed), it shows:

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

Can anybody explain what's going wrong? And what can be done about it?

I've tried what was suggested at https://stackoverflow.com/questions/53545436/no-package-certbot-available , with no success.

gefragt vor 4 Jahren1508 Aufrufe
1 Antwort
0

I stumbled upon the answer. It seems that Amazon Linux and Amazon Linux 2 have two entirely separate sets of instructions for installing certbot.

I was using the Amazon Linux 2 instructions at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html#letsencrypt when I should have been using the Amazon Linux instructions at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-ami.html#lets-encrypt-alami. Trying again with the correct set of instructions got me a working certbot-auto.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen