[GH-ISSUE #309] 同一个域名无法共存RSA+ECC双证书 #7292

Closed
opened 2026-03-12 19:56:17 +03:00 by kerem · 0 comments
Owner

Originally created by @jearton on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/309

Describe the bug
我用一个域名先申请了RSA证书,再去申请ECC证书后,列表里会显示最新的ECC证书,原来的RSA证书没了。

To Reproduce
Steps to reproduce the behavior:

  1. 先创建一个阿里云DSN凭证
  2. 申请RSA证书
  3. 用同一个域名再申请ECC证书
  4. 原来的RSA证书不见了

Expected behavior
RSA证书和ECC证书应该同时存在才对

Screenshots
image

Info (please complete the following information):

  • Server OS: Ubuntu 22.04
  • Server Arch: x86
  • Nginx UI Version: 最新版
  • Your Browser: Chrome

Additional context
我猜是因为名称重复导致的,因为你这个列表页上都看不出是什么密钥类型。我建议名称上加上一个密钥类型后缀,比如 *.xxx.com_ec256 *.xxx.com_rsa2048,避免重复。如果连密钥类型都重复了,那么在生成的时候,就应该提前校验阻断,避免多余的无意义操作。

我为什么需要双证书,因为HTTPS网站只有使用了双证书,在MySSL里才能评级到A+级别。

修改建议:在名称上加后缀作区分,并且列表页透出密钥类型这一列。这样也可以兼容存量数据,不会影响兼容性。

Originally created by @jearton on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/309 **Describe the bug** 我用一个域名先申请了RSA证书,再去申请ECC证书后,列表里会显示最新的ECC证书,原来的RSA证书没了。 **To Reproduce** Steps to reproduce the behavior: 1. 先创建一个阿里云DSN凭证 2. 申请RSA证书 3. 用同一个域名再申请ECC证书 4. 原来的RSA证书不见了 **Expected behavior** RSA证书和ECC证书应该同时存在才对 **Screenshots** ![image](https://github.com/0xJacky/nginx-ui/assets/10370433/0fcf5eaa-644d-4fcf-9fa0-2566e3389242) **Info (please complete the following information):** - Server OS: Ubuntu 22.04 - Server Arch: x86 - Nginx UI Version: 最新版 - Your Browser: Chrome **Additional context** 我猜是因为名称重复导致的,因为你这个列表页上都看不出是什么密钥类型。我建议名称上加上一个密钥类型后缀,比如 *.xxx.com_ec256 *.xxx.com_rsa2048,避免重复。如果连密钥类型都重复了,那么在生成的时候,就应该提前校验阻断,避免多余的无意义操作。 我为什么需要双证书,因为HTTPS网站只有使用了双证书,在MySSL里才能评级到A+级别。 修改建议:在名称上加后缀作区分,并且列表页透出密钥类型这一列。这样也可以兼容存量数据,不会影响兼容性。
kerem 2026-03-12 19:56:17 +03:00
  • closed this issue
  • added the
    bug
    label
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#7292
No description provided.