After upgrading VCF Operations for Networks from 6.12.1 to 6.14.2 via Aria Suite Lifecycle, attempts to replace or renew SSL certificates fail. The CLI command custom-cert apply returns the error: Error: No chain. Third-party certificate validation tools (such as cnacertmgmt.cna.com) indicate an incomplete certificate chain of trust.
custom-cert apply fails during the application process.The custom-cert apply utility requires the certificate (.crt) file to contain the complete hierarchical chain of trust in a single file. This issue occurs when the provided certificate file lacks intermediate CA certificates or the Root CA certificate, or if the certificate blocks are in the incorrect order. Both the .crt and .key files must reside in the /home/ubuntu/custom-certs/ directory on Platform Node 1 for the CLI to successfully bind the certificates.
Construct a complete certificate chain and apply it via the Platform Node CLI.
Prerequisites
consoleuser.Procedure
.crt file (e.g., combined_cert.crt) containing the certificate blocks in this exact hierarchical order:.crt and .key files to /home/support/ on Platform Node 1 using the support user via SCP.ubsudo mv /home/support/<filename>.crt /home/ubuntu/<filename>.crt sudo mv /home/support/<filename>.key /home/ubuntu/<filename>.keyconsoleuser session, remove any failed certificate attempts: custom-cert removeub session, move the new files to the active custom-certs directory: sudo mv /home/ubuntu/<filename>.crt /home/ubuntu/custom-certs/<filename>.crt sudo mv /home/ubuntu/<filename>.key /home/ubuntu/custom-certs/<filename>.keyconsoleuser session, apply the new certificate: custom-cert apply