noodle
(Noodle)
Dezembro 13, 2019, 11:10pm
1
Olá, estou tentando configurar o Discourse em uma máquina Ubuntu pela primeira vez. A intenção é que a plataforma seja acessível apenas dentro da rede da nossa empresa; por isso, o endereço IP registrado para o nome de host junto ao provedor de DNS é um IP interno.
Estou seguindo as instruções de How to Install Discourse Forum with Nginx on Ubuntu 16.04
Consegui fazer o bootstrap e iniciar com sucesso. No entanto, a etapa 3 está falhando (Gerar SSL com Let’s Encrypt) com o seguinte erro:
Falha no procedimento de autorização. (http-01): urn:ietf:params:acme:error:dns :: Nenhum endereço IP válido encontrado para
O nslookup na máquina consegue resolver o endereço IP a partir do nome de host, e também consigo fazer ping no nome de host.
Acho que isso tem a ver com o fato de o endereço IP do host ser interno. Encontrei este artigo, mas não tenho certeza de como prosseguir: No valid IP addresses found for (my domain) - #8 by _az - Help - Let's Encrypt Community Support
Remah
(Just another happy Discourse user)
Dezembro 14, 2019, 1:30am
2
O Let’s Encrypt precisa acessar seu endereço IP da Internet.
Os seguintes tópicos/postagens podem ajudá-lo:
If your server isn’t publicly accessible then Let’s Encrypt can’t verify that the DNS name resolves. If it were possible for servers to get Let’s Encrypt certificates without first verifying this, then all kinds of mischief would be possible.
Even if you can bodge this to temporarily get access and issue a certificate, it will fail for renewals.
VPN can’t help you here.
You’re going to need to either:
ask your university if they operate a Certificate Authority and can issue the server a cer…
https://meta.discourse.org/t/adding-a-dns-name-to-an-ip-based-install/102898/2?u=remah
You’ve skirted around answering my question somewhat.
Is there a valid public DNS record pointed at the public IP of the server? Are :80 and :443 externally accessible on that hostname and IP?