This document outlines the diagnostic procedure to identify and export the specific trusted root certificate residing in the vCenter Server Endpoint Certificate Store (VECS) that issued an ESXi host's active machine SSL certificate.
VMware vCenter Server
VMware vSphere ESXi
Precise cryptographic mapping utilizing the Issuer Distinguished Name (DN) and Authority Key Identifier is mandatory in topologies containing multiple VMCA or custom enterprise roots. This ensures accurate trust chain validation and isolates the exact root certificate responsible for ESXi host issuance.
Execute the following multi-phase procedure utilizing command-line interfaces on both the ESXi host and the vCenter Server Appliance (VCSA).
Phase 1: Extract Cryptographic Identifiers from the ESXi Host
rui.crt):openssl x509 -in /etc/vmware/ssl/rui.crt -noout -text | grep -E "Issuer:|Authority Key Identifier" -A1
Phase 2: Correlate Identifiers within the vCenter Server VECS Store
shell
TRUSTED_ROOTS store:/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS --text | grep -E "Alias|Subject:|Subject Key Identifier" -A1
Phase 3: Export the Correlated Root Certificate
/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store TRUSTED_ROOTS --alias <RECORDED_ALIAS> --output /tmp/<RECORDED_ALIAS>.crt
<RECORDED_ALIAS> with the exact string identified in Phase 2)openssl x509 -in /tmp/<RECORDED_ALIAS>.crt -noout -text | head -n 15
/tmp/<RECORDED_ALIAS>.crt file from the VCSA utilizing a secure file transfer protocol (e.g., SCP, SFTP) to the target administrative workstation.