Installing let's encrypt on Amazon Linux2023

0

I am trying to get SSL certificate with let's encrypt nginx. First, I added epel using the commands $ wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm and $ sudo rpm -ihv --nodeps ./epel-release-latest-8.noarch.rpm and it was added with no problem then I used sudo yum install python3-certbot-nginx and got the error message:

Problem: package certbot-1.22.0-1.el8.noarch requires python3-certbot = 1.22.0-1.el8, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3.6dist(setuptools) >= 39.0.1 needed by python3-certbot-1.22.0-1.el8.noarch
  - nothing provides python3.6dist(cryptography) >= 2.5.0 needed by python3-certbot-1.22.0-1.el8.noarch
  - nothing provides python3.6dist(configobj) >= 5.0.6 needed by python3-certbot-1.22.0-1.el8.noarch
  - nothing provides python3.6dist(distro) >= 1.0.1 needed by python3-certbot-1.22.0-1.el8.noarch
  - nothing provides /usr/bin/python3.6 needed by python3-certbot-1.22.0-1.el8.noarch
  - nothing provides python3.6dist(pytz) needed by python3-certbot-1.22.0-1.el8.noarch
  - nothing provides python(abi) = 3.6 needed by python3-certbot-1.22.0-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages)

I also tried

sudo dnf install python3-certbot-nginx

I learned i may need a Code ready builder but haven't been able to install it. Please how can I get it. If that is not the issue, please what I'm I doing wrong and how can I resolve it?

1 Antwort
2

Hello,

Please refer to the steps in this link to setup certbot via pip. The steps work fine on Amazon Linux 2023.

I hope this helps.

AWS
SUPPORT-TECHNIKER
Vinay_S
beantwortet vor einem Jahr

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