Administrators are attempting to replace self-signed certificates with a third-party, offline, or external Certificate Authority (such as a DOD PKI) in VCF 9.1.1.
During the manual upload of the signed certificates to the VCF License Server or other components, the VCF Operations UI returns the following error message:
Failed to provide certificates. Please check that the certificates are in PEM format and includes the full begin and end lines. Ensure the certificate are stacked in the exact order of leaf, intermediate and then root without any missing character.
VMware Cloud Foundation (VCF) 9.1.x
VCF Operations (Fleet Management Module)
In VCF 9.1, certificate management architecture has been centralized into the Fleet Management module within VCF Operations (deprecating standalone SDDC Manager and Aria Suite Lifecycle UI workflows).
When a direct API integration with a Microsoft CA is not possible, certificates must be applied using an offline CSR generation and manual import workflow. The "Failed to provide certificates" error occurs because the Java-based certificate parser in Fleet Management strictly enforces X.509 Base64 PEM formatting. Uploaded certificates will be rejected if:
The .pem file contains hidden characters, such as a Windows UTF-8 Byte Order Mark (BOM) or CRLF (Windows) line endings instead of LF (UNIX).
The certificate chain is stacked in the incorrect order, or is missing an intermediate certificate.
The returned certificate from the CA is missing required Subject Alternative Names (SANs). VCF 9.1 strictly enforces SAN requirements (both FQDN and IP address) [INDEX_1.2.2].
To replace self-signed certificates using an offline CA, administrators must perform the CSR generation natively in the Fleet Management UI and carefully construct the returned certificates into a single, formatted PEM file.
Step 1: Generate the CSR natively in VCF Operations
a. Log in to the VCF Operations console as an Administrator.
b. Navigate to Manage > Fleet Management > Certificates.
c. Select the appropriate Scope from the top dropdown:
- VCF Management: Use for the VCF License Server, VCF Operations, and VCF Lifecycle.
- VCF Instance: Use for workload components like vCenter Servers and ESXi hosts.
d. Locate the target component (e.g., License Server), click the ellipsis (...) menu, and select Generate CSR.
e. Complete the required fields and wait for the management task to complete.
f. Once completed, click the ellipsis (...) menu again and select Download CSR. Submit this file to your External CA to request a Web Server certificate. Ensure the CA does not strip the SAN fields that VCF injected into the CSR.
Step 2: Construct the PEM Chain File
When the CA returns the signed certificates, assemble the .pem file using a plain-text editor (such as Notepad++):
1. Ensure the editor is set to UTF-8 (without BOM) and uses UNIX (LF) line endings.
2. Create a new text file and paste the certificate blocks in the following strict top-to-bottom order:
Plaintext
-----BEGIN CERTIFICATE-----
(Signed Leaf / Server Certificate)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Intermediate CA Certificate)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Root CA Certificate)
-----END CERTIFICATE-----
3. Ensure there are no blank lines between the END CERTIFICATE of one block and the BEGIN CERTIFICATE of the next block.
4. Ensure there are no trailing whitespace characters at the end of the lines.
5. Save the file with a .pem extension (e.g., license-server-chain.pem).
Step 3: Import the Certificate
1. Return to the Fleet Management Certificates grid for the target component.
2. Click the ellipsis (...) menu and select Replace with externally signed certificate (or Import).
3. Upload the meticulously formatted .pem file.
VCF Operations will validate the chain, match it to the private key stored during Step 1, and restart the target component's services to apply the new certificate.