gpt4 book ai didi

azure - certbot 给出错误 DNS 问题 : SERVFAIL looking up CAA for

转载 作者:行者123 更新时间:2023-12-03 00:48:56 24 4
gpt4 key购买 nike

问题陈述
我正在 certbot 的帮助下为我的域创建证书。我在同一台机器和同一域的其他环境中尝试了相同的过程。但今天我无法创建证书。

采取的步骤(我过去在同一域的其他环境中采取的步骤相同,并且工作正常)
请注意我的域名是注册域名Azurezure

certbot -d api.stg.<my domain> --manual --preferred-challenges dns certonly

这个命令为我提供文本记录。我使用 key _acme-challenge.api.stg

在 AZure DNS 区域中添加了此 txt 记录

当我点击输入时,出现以下错误

Failed authorization procedure. api.stg.<my domain> (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: SERVFAIL looking up CAA for api.stg.<my domain>

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

Domain: api.stg.<my domain>
Type: None
Detail: DNS problem: SERVFAIL looking up CAA for
api.stg.<my domain>

最佳答案

您需要为 Azure DNS 托管(或任何其他)域区域创建 CAA dns 记录,才能让加密工作。以下是 powershell 示例(目前无法在门户中完成):

New-AzDnsRecordSet -Name @ -ResourceGroupName %rg% -ZoneName %zone% -Ttl 3600 -RecordType CAA `
-DnsRecords (New-AzDnsRecordConfig -Caaflags 0 -CaaTag "issue" -CaaValue "letsencrypt.org")

关于azure - certbot 给出错误 DNS 问题 : SERVFAIL looking up CAA for,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54541662/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com