Certbot: False “请求的域不是 FQDN”

创建于 2016-05-03  ·  4评论  ·  资料来源: certbot/certbot

你好,

从来都不是解决问题的好时机...
我的证书明天到期,我无法续订。

letsencrypt certonly --apache --renew-by-default --domains 
Requested domain  is not a FQDN

这是我为域https://canada.with.susie.and.louwii.fr/得到的

我应该修改什么文件才能使其正常工作? 我想很快更新我的证书。

谢谢 !

最有用的评论

当它在谷歌上弹出时发布。

如果有人遇到多个域名的Requested domain is not a FQDN because it contains an empty label.问题(例如,使用 --expand 时),请确保域名之间没有空格 - 仅用逗号分隔它们。

我在写:

./certbot-auto certonly --expand -d first.domain.com, second.domain.com

它应该是:

./certbot-auto certonly --expand -d first.domain.com,second.domain.com

我不相信这曾经是一项要求,但现在肯定是。

所有4条评论

FQDN 是:

canada.with.susie.and.louwii.fr

如果您像在 Web 浏览器中一样添加https:// ,则这不再是域名,您将看到遇到的错误。

或者,如果您正在运行最新版本的客户端(如果您运行letsencrypt --version ,您应该看到版本 0.5.0),您可以简单地运行letsencrypt renew 。 这将使用您最初请求的名称为您更新证书。

这种方法的一个警告是letsencrypt renew将更新您拥有的在到期后 30 天内的任何证书。 这可能是也可能不是您想要的行为。

哼,有意思。

我有一个更新证书的脚本。 那个脚本给了我这个问题。
但我手动运行/opt/letsencrypt/letsencrypt-auto certonly --apache --renew-by-default --domains canada.with.susie.and.louwii.fr并通过了。

我需要修复我的续订脚本。

谢谢宝马,你让我思考并测试了直接命令行。

当它在谷歌上弹出时发布。

如果有人遇到多个域名的Requested domain is not a FQDN because it contains an empty label.问题(例如,使用 --expand 时),请确保域名之间没有空格 - 仅用逗号分隔它们。

我在写:

./certbot-auto certonly --expand -d first.domain.com, second.domain.com

它应该是:

./certbot-auto certonly --expand -d first.domain.com,second.domain.com

我不相信这曾经是一项要求,但现在肯定是。

谢谢@jackrvaughan - 这为我解决了这个问题!

此页面是否有帮助?
0 / 5 - 0 等级