大网数据广告活动
服务器运维问答

How do I properly setup TXT records for letsencrypt with Namecheap?

· 52CE 我爱测

I'm trying to use the manuale application to register my domains with Letsencrypt, but I'm running into this problem: urn:acme:error:connection Here's how I'm running it: ⚘ manuale authorize home.waynewerner.com waynewerner.com R…

问题原文

原帖链接 · Wayne Werner · CC BY-SA 3.0

I'm trying to use the manuale application to register my domains with Letsencrypt, but I'm running into this problem:

urn:acme:error:connection

Here's how I'm running it:

⚘ manuale authorize home.waynewerner.com waynewerner.com
Requesting challenge for home.waynewerner.com.
Requesting challenge for waynewerner.com.
DNS verification required. Make sure these TXT records are in place:
  _acme-challenge.waynewerner.com.  IN TXT  "<Some key>"
  _acme-challenge.home.waynewerner.com.  IN TXT  "<some other key>"

So I signed into my namecheap dashboard and in my host records I added two new TXT records. In the host field I tried it both ways, with @ and home and with _acme-challenge.waynewerner.com and _acme-challenge.home.waynewerner.com. Then the value fields contained <Some key> and <some other key> (without quotes).

And yet I still get:

home.waynewerner.com: waiting for verification. Checking in 5 seconds.
home.waynewerner.com: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.home.waynewerner.com (urn:acme:error:connection)
waynewerner.com: waiting for verification. Checking in 5 seconds.
waynewerner.com: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.waynewerner.com (urn:acme:error:connection)
0 domain(s) authorized, 2 failed.
Authorized: N/A
Failed: home.waynewerner.com waynewerner.com

What am I doing wrong here? I've verified that if I use the @ and home hosts then

dig -t txt home.waynewerner.com
dig -t txt waynewerner.com

both provide the keys that I set in my DNS.

已采纳解答

原帖链接 · Ryan Bolger · CC BY-SA 3.0

Your dig checks aren't checking the right thing. LetsEncrypt is actually looking for records called _acme-challenge.domain.com. I'm not sure how namecheap's DNS interface works. But you need to create records that respond to the following dig queries.

dig -t txt _acme-challenge.home.waynewerner.com
dig -t txt _acme-challenge.waynewerner.com

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-09-22)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。