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

问题描述

我对这个错误感到疯狂。也许有人可以启发我...

域是:compra-mascarillas.com 我正在使用 nginx 当我运行以下命令时:$certbot --nginx 发生这种情况 在此处输入图像描述

服务器是全新的 ubuntu 18 安装谢谢

标签: ubuntunginxservercertbot

解决方案


我在我的 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.


推荐阅读