Issuing wget cannot fetch certbot-auto

I ran this command:
wget https://dl.eff.org/certbot-auto

It produced this output:
Resolving dl.eff.org (dl.eff.org)… 151.101.108.201, 2a04:4e42:1a::201
Connecting to dl.eff.org (dl.eff.org)|151.101.108.201|:443… failed: Connection timed out.
Connecting to dl.eff.org (dl.eff.org)|2a04:4e42:1a::201|:443… failed: Network is unreachable.

My web server is (include version):
c6g.12xlarge

The operating system my web server runs on is (include version):
Amazon Linux 2

My hosting provider, if applicable, is:
AWS

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no

How can I get cerbot-auto downloaded?

Does your networking work at all?

curl -I -m10 https://google.com
curl -I -m10 https://fastly.com

There seems to be no problem with the network connectivity and the Inbound Rules for the EC2 instance allow access from anywhere for both http and https.

Issuing curl -I -m10 https://google.com returns the following:

HTTP/2 301

location : https://www.google.com/

content-type : text/html; charset=UTF-8

date : Tue, 01 Sep 2020 12:05:59 GMT

expires : Thu, 01 Oct 2020 12:05:59 GMT

cache-control : public, max-age=2592000

server : gws

content-length : 220

x-xss-protection : 0

x-frame-options : SAMEORIGIN

alt-svc : h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v=“46,43”

Something else I noticed is Amazon Linux 2 requires a different command to enable EPEL. However, upon issuing the command to enable it, which is recommended by AWS, I encounter the following error:

sudo yum install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Failed to set locale, defaulting to C

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd

Cannot open: http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm. Skipping.

Error: Nothing to do

Researching more into this issue has revealed that the problem lies in the VPC of AWS and has probably nothing to do with Certbot.

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