【发布时间】:2021-11-18 15:09:28
【问题描述】:
这是我第一次构建服务器并将其托管到 AWS EC2。运行命令sudo certbot certonly --standalone 或sudo certbot certonly --webroot 时,我在下面收到此错误
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: matthieuxroger.com
Type: unauthorized
Detail: Invalid response from http://matthieuxroger.com/.well-known/acme-challenge/nWRAFCcRUeVxZ0C5YtRg_9bihG2YQeqacUcGjxdCMzg [18.205.22.32]: "<!DOCTYPE html>\n<html>\n <head>\n <title>Matthieux Roger</title>\n <link rel='stylesheet' href='/stylesheets/style.css' />\n "
我在 AWS EC2 上运行的 ubuntu 20 上使用 nodejs。任何帮助都将不胜感激。
【问题讨论】:
-
你的实例能不能上网,你要检查你的安全组吗?您需要打开端口 443 和 80(入站),您还应该在问题中包含安全组配置。
标签: node.js amazon-ec2 ubuntu-20.04 certbot