V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
brokenQ
V2EX  ›  问与答

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

  •  
  •   brokenQ · 2017-09-19 09:28:57 +08:00 · 4212 次点击
    这是一个创建于 2413 天前的主题,其中的信息可能已经有所发展或是发生改变。
    早上收到 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 条回复    2017-09-23 08:38:56 +08:00
    brokenQ
        1
    brokenQ  
    OP
       2017-09-19 09:30:36 +08:00
    <!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
       2017-09-19 09:35:50 +08:00
    只能重新申请了么。
    brokenQ
        3
    brokenQ  
    OP
       2017-09-19 09:51:07 +08:00
    failure
    superpeaser
        4
    superpeaser  
       2017-09-19 09:58:00 +08:00
    cd /opt/letsencrypt/letsencrypt-auto
    letsencrypt renew – email 自己的 mail – agree-tos
    重启 nginx
    brokenQ
        5
    brokenQ  
    OP
       2017-09-19 10:13:02 +08:00
    没有 letsencrypt-auto 只有 certbot-auto 我的 letsencrypt 目录在 /etc 下 @superpeaser
    brokenQ
        6
    brokenQ  
    OP
       2017-09-19 14:21:16 +08:00
    dalao 在哪里 路过帮忙看一下啊。。
    brokenQ
        7
    brokenQ  
    OP
       2017-09-19 15:23:12 +08:00
    被降权就是惨...
    holulu
        8
    holulu  
       2017-09-23 08:38:56 +08:00
    应该是要重新验证一次域名。
    今年 letsencrypt 把域名验证有效期缩成 30 天了,所以基本上每次续期就相当于重新申请一次了,因为要验证一次域名。
    以前的域名验证有效期好像是 10 个月,所以验证一次可以续期几次。估计是安全考虑吧。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1329 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:41 · PVG 07:41 · LAX 16:41 · JFK 19:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.