【问题标题】:DNS NXDOMAIN error command certbotDNS NXDOMAIN 错误命令 certbot
【发布时间】:2018-01-20 12:24:19
【问题描述】:

我正在尝试安装 ssl 证书,以便在我的域和子域中进行加密。 我在我的域上成功安装了 ssl 证书,但在我的子域上没有成功 我使用下一个命令

certbot certonly --webroot -w /var/www/sub-domain/maxime-mazet.fr/owncloud/ -d cloud.maxime-mazet.fr

/var/www/sub-domain/maxime-mazet.fr/owncloud 有我的代码的文件夹。
cloud.maxime-mazet.fr 是我的子域。

我的域 maxime-mazet.fr 是 ovh 的主机。 对于 cloud.maxime-mazet.fr,我创建了带有服务器 IP 的输入 A。

我的域 (maxime-mazet.fr) 没有错误,但我的子域 (cloud.maxime-mazet.fr) 错误是

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for cloud.maxime-mazet.fr
Using the webroot path /var/www/sub-domain/maxime-mazet.fr/owncloud for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. cloud.maxime-mazet.fr (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for cloud.maxime-mazet.fr

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: cloud.maxime-mazet.fr
   Type:   connection
   Detail: DNS problem: NXDOMAIN looking up A for
   cloud.maxime-mazet.fr

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A 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.

接下来的图片是我的域和子域的 A 面板

感谢您的帮助

【问题讨论】:

    标签: ssl nginx dns lets-encrypt


    【解决方案1】:

    ns13.ovh.netdns13.ovh.net 似乎对您的域名没有权威,因为它们没有正确回复有关该域名的查询。您首先需要解决该问题。询问 OVH 他们是否确实是用于您的域的正确主机。由于您最近似乎刚刚更改了域名的某些内容,因此您可能只需要稍等片刻即可解决问题。

    查看https://www.zonemaster.net/ 以对您的区域进行测试。在他们都没事之前不要玩 Let's Encrypt。

    【讨论】:

      【解决方案2】:

      我对屏幕感到抱歉,但是 ns13 和 dns13 很好,我有一个新屏幕,所有输入都可以;)

      【讨论】:

        猜你喜欢
        • 2023-02-18
        • 2020-05-23
        • 2019-09-23
        • 2019-06-29
        • 2019-08-02
        • 2022-01-05
        • 2015-01-14
        • 2023-03-11
        • 2020-07-22
        相关资源
        最近更新 更多