大网数据广告活动
网站运营与故障问答

How do I renew LetsEncrypt certificates for a wildcard domain via HTTP challenge?

· 52CE 我爱测

I have created and installed a cert for my wildcard domain *.example.com OK using a dns challenge. So far, so good. Now I want to renew the cert using a cronjob. I will need to use the http challenge because my DNS host has no AP…

问题原文

原帖链接 · pinoyyid · CC BY-SA 4.0

I have created and installed a cert for my wildcard domain *.example.com OK using a dns challenge. So far, so good.

Now I want to renew the cert using a cronjob. I will need to use the http challenge because my DNS host has no API mechanism for me to automatically create the TXT record. What I don't understand is how to tell certbot/letsencrypt where my http server is, given the domain is a wildcard that doesn't point to the server where I'm running certbot.

已采纳解答

原帖链接 · davidgo · CC BY-SA 4.0

What you wanting is not possible. As per https://letsencrypt.org/docs/faq/#does-let-s-encrypt-issue-wildcard-certificates wildcard certs must be done via a DNS challenge.

This is also restated - along with DNS provider hints at https://letsencrypt.org/docs/challenge-types/

If you think about it this makes sense. To allow otherwise would enable issuing certs where the authority of the requestor is in doubt. (Ie someone who controls the TLD web site would be able to get a wildcard cert for subdomains which they may not be authorised to). On the flip side, someone who controlsndns for the domain automatically has the power to direct subdomains.

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

资料来源与适用范围

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

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

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