brokenQ
V2EX  ›  问与答

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

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