Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1.7, 7.2.2, 7.6.2, 7.6.4
-
Untriaged
-
0
-
Unknown
Description
When loading a node certificate, we are searching for a CA that matches that node cert. Then we memorize that CA cert for that node cert, and don't allow removal of that CA cert.
Currently we assume that only one CA in the list of trusted CAs can match given node cert, but actually that's incorrect because different CAs can be created using the same private key.
Since currently we sort CAs by id, we always attach the oldest CA cert to the node cert being added which leads to the fact that it is impossible to update a CA cert if CA private key does not change.
I think we should reverse the order of the CA certificates when we search the right CA. In this case we will always start from the latest added certificate in the list.
Attachments
Issue Links
- relates to
-
MB-61320 ns_server should short circuit return with success in the case of no-op certificate reload
- Resolved