DNS NXDOMAIN错误命令certbot

时间:2018-01-20 12:24:20

标签: ssl nginx dns lets-encrypt

我试图安装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的主机。 for 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和子域名

的面板

I can't post a image I don't have 10 reputation but 8

感谢您的帮助

2 个答案:

答案 0 :(得分:0)

ns13.ovh.netdns13.ovh.net似乎对您的域名不具有权威性,因为它们无法正确回复您的域名。您首先需要解决该问题。询问OVH它们是否确实是用于您的域的正确主机。由于您最近似乎已经更改了域名,因此您可能只需要等待一些事情来解决问题。

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

答案 1 :(得分:0)

我很抱歉屏幕但是ns13和dns13很好我有一个全新的屏幕输入;) enter image description here