Prestaging root and intermediate CA certificates in LCM is required prior to CA cutover to prevent SSL/TLS handshake failures, broken API integrations, or endpoint rejections.
LCM: 8.18
VCF: 5.2
Take a snapshot of the LCM appliance via vCenter
Import the new root/intermediate CA certificates to the cacerts trust stores using the following commands:
keytool -import -alias <alias_name> -file /tmp/<cert.pem> -keystore /usr/lib/jvm/OpenJDK-1.11.0/lib/security/cacerts -storepass changeit -noprompt
keytool -import -alias <alias_name> -file /tmp/<cert.pem> -keystore /usr/java/jre-vmware/lib/security/cacerts -storepass changeit -noprompt
Confirm the new CA certificates were successfully imported:
keytool -list -v -keystore /usr/lib/jvm/OpenJDK-1.11.0/lib/security/cacerts -storepass changeit -alias <alias_name>
keytool -list -v -keystore /usr/java/jre-vmware/lib/security/cacerts -storepass changeit -alias <alias_name>