Certificate replacement failing in SDDC with error : Certificate not found for given ID
search cancel

Certificate replacement failing in SDDC with error : Certificate not found for given ID

book

Article ID: 393693

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

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

Environment

VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x

Cause

The reported issue due to private key stored in SDDC DB not match with the generated certificate.

Resolution

Need to use the private key associated with CSR and the certificate generated using same CSR.