[GH-ISSUE #1239] 证书过期必须重新配置站点? #5109

Closed
opened 2026-03-01 15:39:27 +03:00 by kerem · 5 comments
Owner

Originally created by @Alcorio on GitHub (Jul 17, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1239

您好,由于停电,我的证书之前过期了。今天启动时发现,nginx-ui会一直自动auto-cert没法停下。我通过systemctl restart重启nginx-ui,内部的证书服务StepCA也重启了,CA日志却显示the server could not connect to validation target. 是否因为auto-cert的占用,导致无法代理到acme的文件夹,因此无法续约/申请?

我在站点配置里没有找到重新申请证书的选项,只能选择某个已生成的证书。最后我只能通过删除该站点,重新配置。我的想法是否正确?以及,能不能提供当证书过期时能直接在配置重新申请的功能呢?谢谢。

Originally created by @Alcorio on GitHub (Jul 17, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1239 您好,由于停电,我的证书之前过期了。今天启动时发现,nginx-ui会一直自动auto-cert没法停下。我通过systemctl restart重启nginx-ui,内部的证书服务StepCA也重启了,CA日志却显示the server could not connect to validation target. 是否因为auto-cert的占用,导致无法代理到acme的文件夹,因此无法续约/申请? 我在站点配置里没有找到重新申请证书的选项,只能选择某个已生成的证书。最后我只能通过删除该站点,重新配置。我的想法是否正确?以及,能不能提供当证书过期时能直接在配置重新申请的功能呢?谢谢。
kerem 2026-03-01 15:39:27 +03:00
  • closed this issue
  • added the
    Q/A
    label
Author
Owner

@0xJacky commented on GitHub (Jul 17, 2025):

更新到最新版本,可以在证书页面手动更新证书。如果不行的话,就重新打开一下站点里的 Auto Cert 的开关。

<!-- gh-comment-id:3083308731 --> @0xJacky commented on GitHub (Jul 17, 2025): 更新到最新版本,可以在证书页面手动更新证书。如果不行的话,就重新打开一下站点里的 Auto Cert 的开关。
Author
Owner

@Alcorio commented on GitHub (Jul 17, 2025):

更新到最新版本,可以在证书页面手动更新证书。如果不行的话,就重新打开一下站点里的 Auto Cert 的开关。

谢谢。就是最新版本,站点里的"用 Let's Encrypt 对网站进行加密“这个开关当时是锁着的,取消不了,所以我才重启,最后删除站点。证书页面手动更新,这个功能有点忘了,记住了。

<!-- gh-comment-id:3083343803 --> @Alcorio commented on GitHub (Jul 17, 2025): > 更新到最新版本,可以在证书页面手动更新证书。如果不行的话,就重新打开一下站点里的 Auto Cert 的开关。 谢谢。就是最新版本,站点里的"用 Let's Encrypt 对网站进行加密“这个开关当时是锁着的,取消不了,所以我才重启,最后删除站点。证书页面手动更新,这个功能有点忘了,记住了。
Author
Owner

@0xJacky commented on GitHub (Jul 17, 2025):

好的,问题解决了吗

<!-- gh-comment-id:3083369278 --> @0xJacky commented on GitHub (Jul 17, 2025): 好的,问题解决了吗
Author
Owner

@Alcorio commented on GitHub (Jul 17, 2025):

好的,问题解决了吗

我之前是用删站点-重启-重新配置解决的,现在没法复现了orz

<!-- gh-comment-id:3083383785 --> @Alcorio commented on GitHub (Jul 17, 2025): > 好的,问题解决了吗 我之前是用删站点-重启-重新配置解决的,现在没法复现了orz
Author
Owner

@0xJacky commented on GitHub (Jul 17, 2025):

好的

<!-- gh-comment-id:3083391032 --> @0xJacky commented on GitHub (Jul 17, 2025): 好的
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#5109
No description provided.