Renew certificate dont work

My domain is: repositorio.imdeananociencia.org

I ran this command: certbot certonly -v -d repositorio.imdeananociencia.org

It produced this output:

Waiting for verification...
Challenge failed for domain repositorio.imdeananociencia.org
http-01 challenge for repositorio.imdeananociencia.org

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: repositorio.imdeananociencia.org
Type: connection
Detail: 150.244.140.35: Fetching http://repositorio.imdeananociencia.org/.well-known/acme-challenge/uiK8v0hiD2e9FNzt4Jo6hpVfpIJZt8tLWGg1PUPcDQc: Connection refused

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Cleaning up challenges
Some challenges have failed.

My web server is (include version): CENTOS 8

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.22.0

Do you have a webserver running?

2 Likes

yes, it's started.

The following errors were reported by the server:

Domain: repositorio.imdeananociencia.org
Type: connection
Detail: 150.244.140.35: Fetching
http://repositorio.imdeananociencia.org/.well-known/acme-challenge/qSeCO69qxwEVy_1gRKA-ilkS23bxuhwNA9ko90aV0fQ:
Connection refused

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
The following errors were reported by the server:

Domain: repositorio.imdeananociencia.org
Type: connection
Detail: 150.244.140.35: Fetching
http://repositorio.imdeananociencia.org/.well-known/acme-challenge/qSeCO69qxwEVy_1gRKA-ilkS23bxuhwNA9ko90aV0fQ:
Connection refused

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-04-22 11:19:37 CEST; 3h 8min ago
Docs: man:httpd.service(8)
Process: 18510 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
Main PID: 1137 (httpd)
Status: "Total requests: 32; Idle/Busy workers 100/0;Requests/sec: 0.00284; Bytes served/sec: 77 B/sec"
Tasks: 213 (limit: 36592)
Memory: 48.0M
CGroup: /system.slice/httpd.service
├─ 1137 /usr/sbin/httpd -DFOREGROUND
├─18514 /usr/sbin/httpd -DFOREGROUND
├─18515 /usr/sbin/httpd -DFOREGROUND
├─18516 /usr/sbin/httpd -DFOREGROUND
└─18517 /usr/sbin/httpd -DFOREGROUND

abr 22 12:15:48 localhost.localdomain httpd[1137]: Server configured, listening on: port 443, port 80
abr 22 12:15:53 localhost.localdomain systemd[1]: Reloading The Apache HTTP Server.
abr 22 12:15:53 localhost.localdomain systemd[1]: Reloaded The Apache HTTP Server.
abr 22 12:15:53 localhost.localdomain httpd[1137]: Server configured, listening on: port 443, port 80
abr 22 14:26:18 localhost.localdomain systemd[1]: Reloading The Apache HTTP Server.
abr 22 14:26:18 localhost.localdomain systemd[1]: Reloaded The Apache HTTP Server.
abr 22 14:26:18 localhost.localdomain httpd[1137]: Server configured, listening on: port 443, port 80
abr 22 14:26:23 localhost.localdomain systemd[1]: Reloading The Apache HTTP Server.
abr 22 14:26:23 localhost.localdomain systemd[1]: Reloaded The Apache HTTP Server.
abr 22 14:26:23 localhost.localdomain httpd[1137]: Server configured, listening on: port 443, port 80

Does the webserver work?
Can you reach it from the Internet?

1 Like

I can't reach it.

Is your firewall blocking users from foreign countries?

1 Like

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