【问题标题】:How to solve a challenge to authorize my domain for letsencrypt?如何解决授权我的域进行letsencrypt的挑战?
【发布时间】:2016-12-29 16:14:24
【问题描述】:

我正在尝试授权我的域进行letsencrypt。以前,几个月前在不同的服务器上,我没有这样做,现在出于某种原因我这样做了。

./letsencrypt-auto certonly -a webroot --webroot-path=/home/deployer/pfios -d my_website.com -d www.my_website.com
Failed authorization procedure. my_website.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: The key authorization file from the server did not match this challenge [fdsfs-fdsfdsf.fdsfdsfds333] != [gangnam style!]


Domain: www.my_website.com
   Type:   unauthorized
   Detail: The key authorization file from the server did not match
   this challenge
   [fdsfs-fdsfdsf.fdsfdsfds333]
   != [gangnam style!]

授权代码或文件名每次都不同。我应该在哪里真正检索它?在这种情况下,它是“fdsfs-fdsfdsf.fdsfdsfds”

【问题讨论】:

    标签: ssl nginx https lets-encrypt


    【解决方案1】:

    尝试通过 LE 的独立网络服务器授权您的域。

    ./letsencrypt-auto certonly -a standalone -d my_website.com -d www.my_website.com
    

    您必须记住 - 当您生成新证书时,您必须关闭您的主网络服务器(Apache、nginx 等)

    【讨论】:

    • “关闭你的主网络服务器”,请澄清
    【解决方案2】:

    在我的情况下,通过运行解决了它 sudo apt-get update 然后运行更新命令

    /usr/bin/letsencrypt renew
    

    【讨论】:

      【解决方案3】:

      检查您是否在 DNS 提供商中配置了 IPV6 重定向。 如果重定向没有重定向到您的服务器,请将其删除。

      【讨论】:

        猜你喜欢
        • 2020-10-11
        • 2019-02-19
        • 1970-01-01
        • 2011-03-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多