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.

demandé il y a 4 ans1449 vues
1 réponse
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.

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions