【问题标题】:Certbot Amazon Linux error can't generate ssl certCertbot Amazon Linux 错误无法生成 ssl 证书
【发布时间】:2020-07-06 05:25:42
【问题描述】:

我正在尝试在 Amazon Linux EC2 实例上运行 certbot 以生成 ssl 证书。我已关闭 nginx 和 apache 以使端口 80 可用于 certbot 绑定。

我正在使用以下命令运行 certbot:

./certbot-auto certonly --standalone -d mydomain.com

它正在产生以下错误:

所有 DNS 记录也已正确配置,所以我不确定为什么会发生此错误。

如何让certbot 正确运行?

【问题讨论】:

    标签: amazon-ec2 certbot amazon-linux


    【解决方案1】:

    我必须指定正确的http-01-port

    ./certbot-auto certonly **--http-01-port 8080** -d domain.com -d www.domain.com
    

    【讨论】:

      猜你喜欢
      • 2020-12-16
      • 2023-02-20
      • 1970-01-01
      • 2021-01-19
      • 1970-01-01
      • 2014-07-14
      • 1970-01-01
      • 1970-01-01
      • 2020-10-18
      相关资源
      最近更新 更多