Replacing CA certificate in SDDC fails with error:
"Private Key not found in VECS store"],"default_message":"Certificate not found for given ID (Private Key not found in VECS store)","id":"com.vmware.certificatemanagement.notfound"
However validation of certificate chain is successful in SDDC GUI
VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
The reported issue due to private key stored in SDDC DB not match with the generated certificate.
Need to use the private key associated with CSR and the certificate generated using same CSR.