Skip to content

Custom and requested certificates are listed twice #6987

@Amygos

Description

@Amygos

Steps to reproduce

  • Upload a custom certificate
  • Request a certificate for the same domain
  • Get the list of the current certificates

Expected behavior

Only the custom certificate is listed, the custom one has precedence over the requested ones.

Actual behavior

The certificate is listed twice, eg.:

[root@nethserver ~]# api-cli run module/traefik1/list-certificates -d '{"expand_list":true}' | jq
Warning: using user "cluster" credentials from the environment
[
  {
    "fqdn": "test.example.com",
    "type": "internal",
    "obtained": false
  },
  {
    "fqdn": "test.example.com",
    "type": "custom",
    "obtained": true
  }
]

Components

https://github.com/NethServer/ns8-traefik

See also

Metadata

Metadata

Assignees

Labels

verifiedAll test cases were verified successfully

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions