When adding Log Management in VMware Cloud Foundation and choosing Import configuration from an earlier Operations for Logs instance, the validate step fails with a certificate-related error. Customers cannot proceed with the import flow.
Observed symptoms:
"Failed to validate import configuration. Validation failed. Please check the provided parameters and try again."
"Certificate for <hostname> doesn't match common name of the certificate subject: VMware Cloud Foundation Operations for Logs"
SSL/TLS handshake failure for POST https://<legacy_logs_address>:9543/api/v1/sessions: Certificate for <fqdn> doesn't match common name of the certificate subject: VMware Cloud Foundation Operations for Logs
This occurs when the legacy (source) Logs appliance is using its default/self-signed certificate that has no Subject Alternative Name (SAN) and a Common Name (CN) that is not the appliance hostname.
The legacy Operations for Logs appliance may be deployed with a default self-signed certificate that:
Has Common Name (CN) set to a product string (e.g. "VMware Cloud Foundation Operations for Logs") instead of the appliance FQDN.
Has no Subject Alternative Name (SAN) (or no DNS SAN entry for the appliance hostname).
During the LCM import flow, Fleet LCM validates the connection to the legacy appliance using standard TLS hostname verification (RFC 2818 / RFC 6125):
Subject Alternative Names (SANs) are validated first.
Common Name (CN) is used only as a fallback when no DNS SAN entries are present.
Because the default certificate has no SAN and the CN does not match the hostname used to connect (e.g. ops-li.vcf.nimbus.internal), hostname verification fails. LCM correctly does not disable hostname verification for security reasons (to prevent man-in-the-middle attacks). The failure is therefore expected when the legacy appliance certificate is not valid for the hostname.
Apply a new certificate with proper SAN (and matching CN) on the legacy Operations for Logs appliance before initiating the import flow.
Preventive guidance: When deploying a new Operations for Logs appliance that may later be used as a source for import, use a certificate that includes the appliance FQDN (and IP if applicable) in both CN and SAN to avoid this issue.