[GH-ISSUE #1160] 管理证书时无法更改证书类型 #6406

Closed
opened 2026-03-01 17:11:50 +03:00 by kerem · 14 comments
Owner

Originally created by @Purgepyro on GitHub (Jun 21, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1160

Describe the bug
无法从例如EC256更换至RSA2048

To Reproduce
Steps to reproduce the behavior:

  1. 进入证书页面
  2. 更改证书类型
  3. 保存后仍然为原先的类型

Expected behavior
/

Screenshots

Image

Info (please complete the following information):

  • Server OS: Debian 12.11
  • Server Arch: x64
  • Nginx UI Version: 2.1.6
  • Your Browser: Edge

Additional context
汉化也有问题
Image

Originally created by @Purgepyro on GitHub (Jun 21, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1160 **Describe the bug** 无法从例如EC256更换至RSA2048 **To Reproduce** Steps to reproduce the behavior: 1. 进入证书页面 2. 更改证书类型 3. 保存后仍然为原先的类型 **Expected behavior** / **Screenshots** ![Image](https://github.com/user-attachments/assets/2562ca61-7dcb-4d48-aa36-8cb86c655a31) **Info (please complete the following information):** - Server OS: Debian 12.11 - Server Arch: x64 - Nginx UI Version: 2.1.6 - Your Browser: Edge **Additional context** 汉化也有问题 ![Image](https://github.com/user-attachments/assets/4b71c16e-3d67-4db2-80e5-305970700545)
kerem 2026-03-01 17:11:50 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Purgepyro commented on GitHub (Jun 22, 2025):

BTW备份好像还是没修好

Image

<!-- gh-comment-id:2994002872 --> @Purgepyro commented on GitHub (Jun 22, 2025): BTW备份好像还是没修好 ![Image](https://github.com/user-attachments/assets/257555e6-652a-49b1-b9f1-5e7f88276e00)
Author
Owner

@0xJacky commented on GitHub (Jun 23, 2025):

这个证书类型只是用于申请的时候,修改了但是没有重新签发证书的话,当然还是显示原来的证书类型

<!-- gh-comment-id:2994744665 --> @0xJacky commented on GitHub (Jun 23, 2025): 这个证书类型只是用于申请的时候,修改了但是没有重新签发证书的话,当然还是显示原来的证书类型
Author
Owner

@0xJacky commented on GitHub (Jun 23, 2025):

BTW备份好像还是没修好

Image

可能是依赖版本冲突了,可以试试最新的开发版,看看这个超时的问题是否得到了解决

<!-- gh-comment-id:2996746672 --> @0xJacky commented on GitHub (Jun 23, 2025): > BTW备份好像还是没修好 > > ![Image](https://github.com/user-attachments/assets/257555e6-652a-49b1-b9f1-5e7f88276e00) 可能是依赖版本冲突了,可以试试最新的开发版,看看这个超时的问题是否得到了解决
Author
Owner

@Purgepyro commented on GitHub (Jun 23, 2025):

BTW备份好像还是没修好
Image

可能是依赖版本冲突了,可以试试最新的开发版,看看这个超时的问题是否得到了解决

怀疑此问题和cookie和cache有关,每次报 server error 我只要重启 nginx-ui 服务(有时不需要重启)并进入浏览器的 inprivate 页面就能正常备份。

<!-- gh-comment-id:2996870532 --> @Purgepyro commented on GitHub (Jun 23, 2025): > > BTW备份好像还是没修好 > > ![Image](https://github.com/user-attachments/assets/257555e6-652a-49b1-b9f1-5e7f88276e00) > > 可能是依赖版本冲突了,可以试试最新的开发版,看看这个超时的问题是否得到了解决 怀疑此问题和cookie和cache有关,每次报 server error 我只要重启 nginx-ui 服务(有时不需要重启)并进入浏览器的 inprivate 页面就能正常备份。
Author
Owner

@0xJacky commented on GitHub (Jun 23, 2025):

是已经更新到最新的开发版了吗

<!-- gh-comment-id:2996877984 --> @0xJacky commented on GitHub (Jun 23, 2025): 是已经更新到最新的开发版了吗
Author
Owner

@Purgepyro commented on GitHub (Jun 23, 2025):

是已经更新到最新的开发版了吗

因为这个 server error 的问题甚至导致我没办法升级(

<!-- gh-comment-id:2996881198 --> @Purgepyro commented on GitHub (Jun 23, 2025): > 是已经更新到最新的开发版了吗 因为这个 server error 的问题甚至导致我没办法升级(
Author
Owner

@0xJacky commented on GitHub (Jun 23, 2025):

不可能啊,更新走的 WebSocket 协议。或者先改回 h2 呢?

<!-- gh-comment-id:2996888887 --> @0xJacky commented on GitHub (Jun 23, 2025): 不可能啊,更新走的 WebSocket 协议。或者先改回 h2 呢?
Author
Owner

@Purgepyro commented on GitHub (Jun 23, 2025):

不可能啊,更新走的 WebSocket 协议。或者先改回 h2 呢?

Image
用不用h2都会这样

<!-- gh-comment-id:2996906352 --> @Purgepyro commented on GitHub (Jun 23, 2025): > 不可能啊,更新走的 WebSocket 协议。或者先改回 h2 呢? ![Image](https://github.com/user-attachments/assets/d5525429-3403-44b1-9313-553ffa15b848) 用不用h2都会这样
Author
Owner

@0xJacky commented on GitHub (Jun 24, 2025):

可以试试用脚本更新

bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev -r https://cloud.nginxui.com/
<!-- gh-comment-id:2998367539 --> @0xJacky commented on GitHub (Jun 24, 2025): 可以试试用脚本更新 ```bash bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev -r https://cloud.nginxui.com/ ```
Author
Owner

@Purgepyro commented on GitHub (Jun 24, 2025):

更新完问题还是一样

可以试试用脚本更新

bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev -r https://cloud.nginxui.com/

<!-- gh-comment-id:2998896036 --> @Purgepyro commented on GitHub (Jun 24, 2025): 更新完问题还是一样 > 可以试试用脚本更新 > > bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev -r https://cloud.nginxui.com/
Author
Owner

@0xJacky commented on GitHub (Jun 24, 2025):

发错命令了

bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev

用这个试试

<!-- gh-comment-id:2999594945 --> @0xJacky commented on GitHub (Jun 24, 2025): 发错命令了 ``` bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev ``` 用这个试试
Author
Owner

@Purgepyro commented on GitHub (Jun 24, 2025):

发错命令了

bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev

用这个试试

我知道,我已经更新到开发版了,但问题还是存在

<!-- gh-comment-id:2999597642 --> @Purgepyro commented on GitHub (Jun 24, 2025): > 发错命令了 > > ``` > bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install --channel dev > ``` > > 用这个试试 我知道,我已经更新到开发版了,但问题还是存在
Author
Owner

@0xJacky commented on GitHub (Jun 24, 2025):

出现超时,或者 Server error 的请求可以点进去看一下 Response 的详情吗

尝试清理浏览器缓存,更换浏览器

我这确实没办法复现这个问题

<!-- gh-comment-id:2999852043 --> @0xJacky commented on GitHub (Jun 24, 2025): 出现超时,或者 Server error 的请求可以点进去看一下 Response 的详情吗 尝试清理浏览器缓存,更换浏览器 我这确实没办法复现这个问题
Author
Owner

@0xJacky commented on GitHub (Jun 24, 2025):

如果可以的话麻烦提供一下 nginx 的版本,nginx.conf 的配置,nginx-ui 反向代理的配置文件;开一个新的 issue,我们持续跟踪这个问题

本 issue 主要反馈的 Key Type 现在不允许修改了,翻译的问题已解决

<!-- gh-comment-id:3000404487 --> @0xJacky commented on GitHub (Jun 24, 2025): 如果可以的话麻烦提供一下 nginx 的版本,nginx.conf 的配置,nginx-ui 反向代理的配置文件;开一个新的 issue,我们持续跟踪这个问题 本 issue 主要反馈的 Key Type 现在不允许修改了,翻译的问题已解决
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#6406
No description provided.