I detached and then removed a manager node from an NSX cluster, but a mp-cluster certificate for that node remained in the certificates, which also shows still being used.
So when I try to delete it I get:
Error: Certificate cannot be deleted because it is used by 1 MP node(s). (Error code: 2022)
However it's not used by the mp-cluster anymore and the node it refers to is not a cluster member anymore either.
If it were a plain file I would just rm -rf it, but it's an NSX certificate so how to get rid of it?