Skip to content

同一个域名无法共存RSA+ECC双证书 #309

Closed
@jearton

Description

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+级别。

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    • Status

      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions