mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #723] 证书更新不成功 #3478
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3478
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ftyszyx on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/723
无法获取证书了

issue cert get acme user error: get default user error: record not found
@ftyszyx commented on GitHub (Nov 14, 2024):
@0xJacky commented on GitHub (Nov 14, 2024):
如果提示系统默认用户不存在,请手动选定 ACME 用户JackyOn Nov 14, 2024, at 4:36 PM, ftyszyx @.***> wrote:
image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
@ftyszyx commented on GitHub (Nov 14, 2024):
已经选了

@ftyszyx commented on GitHub (Nov 15, 2024):
证书更新不成功,有解决方案吗?
@ftyszyx commented on GitHub (Nov 15, 2024):
acme用户是有效的
@0xJacky commented on GitHub (Nov 15, 2024):
我会尝试复现这个问题,但是默认用户确实不见了,你有删过或者改过名字吗
@ftyszyx commented on GitHub (Nov 15, 2024):
我给你的截图都是没改acme用户的名字的。连不上。
我又试了改了用户名字,还是更新不到证书,一样的报错。
那怎么样才能恢复默认的用户呢?
@0xJacky commented on GitHub (Nov 15, 2024):
安装/更新之后系统没有自动创建默认用户吗,这个是你手动新建的?如果创建失败了可能是网络问题,一般重启会重新注册
@ftyszyx commented on GitHub (Nov 15, 2024):
安装/更新之后系统没有自动创建默认用户吗?(忘了)
应该是手动新建的。不过已经稳定运行半年多了,所以之前的配置应该是没问题的。
网络问题,一般重启会重新注册。我重启了container,还是不行
@0xJacky commented on GitHub (Nov 15, 2024):
我晚些时候再回复
@0xJacky commented on GitHub (Nov 15, 2024):
Docker 镜像版本是最新的吗
@ftyszyx commented on GitHub (Nov 15, 2024):
我没升级过docker镜像,我都是在系统内升级的,已经是最新

@0xJacky commented on GitHub (Nov 15, 2024):
确实有 bug,用户没保存下来,我修复一下
@0xJacky commented on GitHub (Nov 15, 2024):
麻烦检查配置文件是否自动迁移成功,可能有些特殊情况下导致 Nginx UI 的配置从 v1 迁移到 v2 失败。
目前获取默认用户的逻辑就是
用户邮箱+CADir(如果为空就是默认的
https://acme-v02.api.letsencrypt.org/directory)查找用户是否存在。关于手动指定用户但是仍无法签发,这个是一个小 bug,临时解决方案是修改完 ACME User 后点击一次保存,再点击更新证书。
@ftyszyx commented on GitHub (Nov 15, 2024):
已经清空,并重启了系统,但还是不行
@0xJacky commented on GitHub (Nov 16, 2024):
Email 设置一下,再重启 Nginx UI