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개 답변
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
지원 엔지니어
Vinay_S
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인