When you replace certificates for VCF Automation (VCFA) using the "Replace with imported certificates" operation in the Ops UI, the operation shows as successful. However, when viewing the imported certificates in the Ops UI, the new leaf certificates are present, but the certificate with the category "Intermediate" is missing.
VCF Automation 9.1.0
When the "Replace with imported certificates" operation is triggered in the Ops UI, an internal process fetches the full certificate chain to build the payload for VCF Automation. During this process, the payload incorrectly assigns only the leaf certificate to the "cert" component and only the root certificate to the "ca" component, effectively stripping away any intermediate certificates.
This issue is specific to the VCF Automation certificate update path and does not impact other VCF Service Runtime (VMSP) components.
This issue is resolved in VMware Cloud Foundation Automation 9.1.1 and higher.
Workaround: If you are running a version prior to 9.1.1, you can work around this issue by modifying the secret directly with the existing certificate.
sudo su -KUBECONFIG environment variable to interact with the Kubernetes cluster:export KUBECONFIG=/etc/kubernetes/admin.confingress-vcfa-tls-external secret to have the full cert chain:kubectl -n prelude patch secret ingress-vcfa-tls-external --type merge --patch "{\"data\":{\"tls.crt\":\"$(base64 < fullchain.pem | tr -d '\n')\"}}"