首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Certbot acme挑战

Certbot acme挑战
EN

Stack Overflow用户
提问于 2022-01-16 17:33:39
回答 1查看 3.6K关注 0票数 0

我有两台服务器。一个用作web服务器,另一个用作radius服务器。为了设置半径,我必须通过以下方式验证域名的所有权

代码语言:javascript
复制
certbot certonly --standalone -d my.comain.com

不幸的是,它又回来了

代码语言:javascript
复制
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Requesting a certificate for my.domain.com
Performing the following challenges:
http-01 challenge for my.domain.com
Waiting for verification...
Challenge failed for domain my.domain.com
http-01 challenge for my.domain.com
Cleaning up challenges
Some challenges have failed.

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

Domain: my.domain.com
Type:   unauthorized
Detail: Invalid response from
http://my.domain.com/.well-known/acme-challenge/lZJhjHOvCGs0DKmrdJbi31iGW_RpNL58ua2CPzwmKA4
[1XX.1XX.1XX.1XX]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

有关您的信息,此命令从radius服务器运行,域位于web服务器上。可以通过浏览器访问域。即使我为http文件夹设置了777权限,错误仍然存在。

它必须在同一台服务器上吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-01-16 19:00:43

来自Certbot的文档

为了执行域验证,这个插件需要绑定到端口80,所以您可能需要停止现有的may服务器。

为了验证域,certbot充当web服务器。让我们在certbot'-d选项(在您的例子中是my.domain.com)指向的域上,尝试连接到这个web服务器。因此,您将需要一些临时的网络欺骗(端口转发,DNS更改等)。因此,当您请求此证书时,我们加密的通信量将到达RADIUS服务器,而不是web服务器。你还需要每三个月重复一次更新。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70732501

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档