Unauthorized acess 503

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, crt.sh | 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: sim

Meu nome de domínio é:formamentis.faculdadeam.edu.br

Executei esse comando: sudo certbot certonly --webroot

Produziu essa saída: Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: formamentis.faculdadeam.edu.br
Type: unauthorized
Detail: 177.86.167.219: Invalid response from http://formamentis.faculdadeam.edu.br/.well-known/acme-challenge/SceW8d_qfMWpxVT24EZ OjyTFjVubI_2SJpqVbbm_K7o: 503

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.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or r

Meu servidor web é (com versão): "Ubuntu 18.04.6 LTS"

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

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

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):

Hi @BrunKsp, and welcome to the LE community forum :slight_smile:

The web site is not functional:

curl -Ii formamentis.faculdadeam.edu.br
HTTP/1.1 503 Service Unavailable
Content-Length: 326
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 26 Oct 2023 12:55:40 GMT
Connection: close
curl formamentis.faculdadeam.edu.br
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Service Unavailable</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Service Unavailable</h2>
<hr><p>HTTP Error 503. The service is unavailable.</p>
</BODY></HTML>

You must fix that first before proceeding.

2 Likes

Hello, thanks for the response. I am also facing a problem opening a DOCKER container updated with the new version of my website. Could these two questions be related? If yes or no, how can I resolve this? When I access my website through a browser, it works fine.

Accessed from the Internet?
OR from the school network?

3 Likes

internet
http://formamentis.faculdadeam.edu.br:582/

You are not using port 80 in that URL/link.

The ACME challenge request must use HTTP [TCP port 80].
The Internet gets only:
image

3 Likes

So should I change the port from 582 to 80?

If your server does not have a dedicated external IP, it you may need to be accessed via a shared/proxy system.
Please speak with your school network/firewall IT about how your server can be reached via HTTP.

3 Likes

ok, thanks ^^

If your server does have a dedicated Internet IP, then, yes:

You could change to using port 80.
OR
Add a port 80 listener - to handle the ACME challenge requests.

4 Likes

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