授权程序失败。 (http-01): urn:ietf:params:acme:error:dns :: 找不到有效的 IP 地址

问题描述 投票:0回答:2

我快被这个错误搞疯了。也许有人可以启发我...

域名是:compra-mascarillas.com 我正在使用 nginx 当我运行以下命令时:$certbot --nginx 有时候是这样的

server 是全新的 ubuntu 18 安装 谢谢

ubuntu nginx server certbot
2个回答
0
投票

我在我的 Nginx 配置中陷入了同样的错误陷阱。但是经过大量研究后,我发现我的域服务提供商(在我的例子中是 Godaddy)没有正确配置。

确保使用机器的有效 IP 地址设置正确的 Type-A 设置。

An A Record maps a hostname to one or more IP addresses, while the CNAME record maps a hostname to another hostname.


0
投票

我在使用 certbort 更新 SSL 证书时遇到以下错误

Failed authorization procedure.  sub-domain.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: xxxx: Fetching http://domain-name/.well-known/acme-challenge/xxxxxxxx: Timeout during connect (likely firewall problem)

从所有(0.0.0.0/0)打开80端口,然后更新证书,它对我有用。 更新后关闭端口。

© www.soinside.com 2019 - 2024. All rights reserved.