Certbot 正在续订但未续订 - 2021

Certbot 正在续订但未续订 - 2021

我遇到了与 3 年前的这篇文章完全相同的问题。Certbot 计时器正在运行,但证书不会每 90 天更新一次。我只能启动服务器,证书就会更新。我还显示了我的 certbot 系统状态和 certbot.service。之前有人提到这可能是由于权限问题,但不太可能,因为证书在重新启动时会更新。这里可能是什么问题?谢谢。

[][1]:Certbot 正在更新,但未更新

super@mail:~$ sudo systemctl status certbot
● certbot.service - Certbot
   Loaded: loaded (/lib/systemd/system/certbot.service; static; vendor preset: enabled)
   Active: inactive (dead) since Mon 2021-09-06 15:21:02 +08; 2h 42min ago
     Docs: file:///usr/share/doc/python-certbot-doc/html/index.html
           https://letsencrypt.readthedocs.io/en/latest/
 Main PID: 19282 (code=exited, status=0/SUCCESS)

Sep 06 15:21:01 mail systemd[1]: Starting Certbot...
Sep 06 15:21:02 mail systemd[1]: certbot.service: Succeeded.
Sep 06 15:21:02 mail systemd[1]: Started Certbot.

super@mail:~$ cat /lib/systemd/system/certbot.service
[Unit]
Description=Certbot
Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
Documentation=https://letsencrypt.readthedocs.io/en/latest/
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot -q renew
PrivateTmp=true

相关内容