Configuring Microsoft Certification Authority in SDDC Manager fails with error "Unable to create CA" due to expired certificate on Certificate Authority
search cancel

Configuring Microsoft Certification Authority in SDDC Manager fails with error "Unable to create CA" due to expired certificate on Certificate Authority

book

Article ID: 441839

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Configuring Microsoft CA as an external CA in SDDC Manager fails with error "Unable to create CA. Reference token: XXXXXX":



  • In SDDC Manager, under /var/log/vmware/vcf/operationsmanager/operationmanager.log, the following log entries are observed indicating that the Microsoft CA's certificate is expired:


    YYYY-MM-DDTHH:MM:SS DEBUG [vcf_om,xxxxxxxxxxxxxxxx,xxxx] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-xxxx-exec-x] Handler Error Response: {"errorCode":"CERTIFICATE_CA_CREATION_FAILED","arguments":[],"message":"Unable to create CA.","causes":[{"type":"com.vmware.vcf.certmgmt.common.exception.CertificateManagementException","message":"Certificate CN\<CN name> is valid from <Day> <Month> <Day> <Time> UTC <Year> to <Day> <Month> <Time> <Day> UTC <Year> only."}],"referenceToken":"<Same token code in previous point>"}

Environment

VMware Cloud Foundation 9.x

Cause

The certificate for Microsoft CA has expired.

Resolution

  1. Renew the expired Microsoft CA certificate on the Microsoft CA server.
  2. Reconfigure the Certificate Authority in the SDDC Manager.

Additional Information

Certificate replacement on any SDDC Component will fail due to the above issue. Ensure to have a valid Microsoft CA certificate before proceeding with certificate replacement on SDDC Components.