vRSLCM (VMware Aria Suite Lifecycle Manager) Certificate is expired
Unable to generate CSR from SDDC
SDDC upgrade precheck fails due to vRSLCM certificate issues/expiration. Error: "The provided hostname #### is invalid or the SSL certificate for #### is not trusted"
Environment
VMware Cloud Foundation 4.x , 5.x
vRealize Lifecycle Manager 8.x
vCenter Server 7.x, 8.x
Cause
vRSLCM (VMware Aria Suite Lifecycle Manager) Certificate is expired or expiring soon.
Need renewal using VMCA Authority
Resolution
Generate CSR on vRSLCM using the GUI -> Locker -> Certificates -> Generate CSR [ NOTE: Enter valid vRSLCM node FQDN and IP address ]
The CSR and private key are downloaded by the browser in a single .pem file
Split this .pem into 2 files:
a. one with the CSR (CSR.pem) and
b. one with only Private KEY (CSR.key).
Follow below steps to get the CSR Signed by VMCA on vCenter server. Create cert.cfg as per KB replacing-sddc-certificates-with-vmca ( refer Steps 3 and 5):
Copy CSR.pem and CSR.key files created above into /tmp/certs on vCenter server
Now, Import the certificate (<vRSLCM-NAme>.pem) on VRSLCM using GUI -> Locker -> Certificates -> Import
Enter Name
Enter Private key (CSR.Key) | Contents from "-----BEGIN PRIVATE KEY-----" to "-----END PRIVATE KEY-----"
Enter certificate chain
i.e. contents of signed certificate <vRSLCM-Name>.pem from "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----"
and contents of vCenter Server Path : /var/lib/vmware/vmca/root.cer from "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" pasted one after the other.
Select Import button
Take valid vRSLCM and SDDC Manager VMs snapshots or Backups
NOTE: You will have to Reload vRSLCM Page from Browser to validate certificate replacement status.
Check on SDDC manager GUI -> Inventory -> Workload Domains -> <Select Domain> -> Security -> Check whether new Certificate is reflecting and is Active.
On vRSLCM, perform inventory sync for all the available Environments
e.g. for Log Insight go to vRSLCM GUI -> Lifecycle Operations -> Environments -> VRLI -> View details -> Click ... -> Trigger Inventory Sync.
Check whether Inventory sync is completes successfully.