brokenQ
V2EX  ›  问与答

letsencrypt 快到期了,怎么手动续期?

  •  
  •   brokenQ · Sep 19, 2017 · 5249 views
    This topic created in 3333 days ago, the information mentioned may be changed or developed.
    早上收到 Let's Encrypt 邮件提示证书还有十几天到期..

    续期用./certbot-auto renew 命令一直报错怎么办
    提示 尝试从 /etc/letsencrypt/renewal/***.com.conf 中更新 cert 会导致意外错误:授权过程失败。error:unauthorized ::客户端缺少足够的授权

    /root/certbot-auto renew --force-renew --renew-hook "/etc/init.d/nginx reload" 强制续期也失败了
    8 replies  •  2017-09-23 08:38:56 +08:00
    brokenQ
    brokenQ
    OP
    Sep 19, 2017
    1
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
    <head><title>403 Forbidden</title></head>
    <body bgcolor="white">
    <". Skipping.
    All renewal attempts failed. The following certs could not be renewed

    所有证书续订失败..
    brokenQ
    brokenQ
    OP
    Sep 19, 2017
    2
    只能重新申请了么。
    brokenQ
    brokenQ
    OP
    Sep 19, 2017
    3
    failure
    superpeaser
    superpeaser
    Sep 19, 2017
    4
    cd /opt/letsencrypt/letsencrypt-auto
    letsencrypt renew – email 自己的 mail – agree-tos
    重启 nginx
    brokenQ
    brokenQ
    OP
    Sep 19, 2017
    5
    没有 letsencrypt-auto 只有 certbot-auto 我的 letsencrypt 目录在 /etc 下 @superpeaser
    brokenQ
    brokenQ
    OP
    Sep 19, 2017
    6
    dalao 在哪里 路过帮忙看一下啊。。
    brokenQ
    brokenQ
    OP
    Sep 19, 2017
    7
    被降权就是惨...
    holulu
    holulu
    Sep 23, 2017
    8
    应该是要重新验证一次域名。
    今年 letsencrypt 把域名验证有效期缩成 30 天了,所以基本上每次续期就相当于重新申请一次了,因为要验证一次域名。
    以前的域名验证有效期好像是 10 个月,所以验证一次可以续期几次。估计是安全考虑吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5353 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 03:32 · PVG 11:32 · LAX 19:32 · JFK 22:32
    ♥ Do have faith in what you're doing.