Erro ao renovar certificado

Por favor, preencha todos os campos abaixo para que nós possamos ajudar você. Obs.: você deve indicar seu nome de domínio para receber ajuda. Os nomes de domínio dos certificados emitidos são divulgados nos logs da Transparência de Certificados (por exemplo, https://crt.sh/?q=example.com). Assim, não indicar seu nome de domínio não o mantém em segredo, mas torna a nossa ajuda mais difícil.

Posso ler respostas em inglês:

Meu nome de domínio é: afne.com.br

Executei esse comando: sudo certbot renew --dry-run

Produziu essa saída:

root@glpi-lab:/var/www/html/glpi/.well-known# sudo certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/afne.com.br-0001.conf


Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for afne.com.br
Waiting for verification...
Challenge failed for domain afne.com.br
http-01 challenge for afne.com.br
Cleaning up challenges
Attempting to renew cert (afne.com.br-0001) from /etc/letsencrypt/renewal/afne.com.br-0001.conf produced an unexpected error: Some challenges have failed.. Skipping.


Processing /etc/letsencrypt/renewal/afne.com.br.conf


Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for afne.com.br
Waiting for verification...
Challenge failed for domain afne.com.br
http-01 challenge for afne.com.br
Cleaning up challenges
Attempting to renew cert (afne.com.br) from /etc/letsencrypt/renewal/afne.com.br.conf produced an unexpected error: Some challenges have failed.. Skipping.


Processing /etc/letsencrypt/renewal/www.afne.com.br.conf


Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.afne.com.br
Waiting for verification...
Challenge failed for domain www.afne.com.br
http-01 challenge for www.afne.com.br
Cleaning up challenges
Attempting to renew cert (www.afne.com.br) from /etc/letsencrypt/renewal/www.afne.com.br.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/afne.com.br-0001/fullchain.pem (failure)
/etc/letsencrypt/live/afne.com.br/fullchain.pem (failure)
/etc/letsencrypt/live/www.afne.com.br/fullchain.pem (failure)


** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/afne.com.br-0001/fullchain.pem (failure)
/etc/letsencrypt/live/afne.com.br/fullchain.pem (failure)
/etc/letsencrypt/live/www.afne.com.br/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)


3 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: afne.com.br
    Type: connection
    Detail: 177.92.122.198: Fetching
    http://afne.com.br/.well-known/acme-challenge/VJghsbDePTO3Oi67uE6aBWCX-LqWNZGbfUWLvtu5h3k:
    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: afne.com.br
    Type: connection
    Detail: 177.92.122.198: Fetching
    http://afne.com.br/.well-known/acme-challenge/woin3Ucpkq4ApOUQM22ENeRRK1Z6gtCCAb0qDi3nkRQ:
    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: www.afne.com.br
    Type: connection
    Detail: 177.92.122.198: Fetching
    http://www.afne.com.br/.well-known/acme-challenge/AzMS1hcMELyGY-cZu7RQkXhrQ53fsESO9Or5WV5ht5s:
    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.

Meu servidor web é (com versão):

O sistema operacional no meu servidor web é (com versão): ubuntu 20

O serviço de hospedagem do meu site (se aplicável) é: n/a

Posso acessar um shell root na minha máquina (sim ou não, ou não sei): sim

Uso um painel de controle para administrar meu site (não, ou indique o nome e a versão do painel de controle): n/a

Olá @RafaelMorata, bem-vindo à comunidade Let's Encrypt. :slight_smile:

Usando a ferramenta on-line Let's Debug produz esses resultados

O desafio HTTP-01 só pode ser feito na porta 80.
E atualmente a Inernet não tem acesso a isso.

1 Like
$ nmap -Pn -p80,443 afne.com.br
Starting Nmap 7.80 ( https://nmap.org ) at 2024-03-25 17:38 UTC
Nmap scan report for afne.com.br (177.92.122.198)
Host is up (0.19s latency).
rDNS record for 177.92.122.198: mvx-177-92-122-198.mundivox.com

PORT    STATE  SERVICE
80/tcp  closed http
443/tcp open   https

Nmap done: 1 IP address (1 host up) scanned in 1.52 seconds
1 Like

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