Symptoms:
error message:
<Certificate location>: C = XX, ST = XXXX, L = XXX, O = XX XX, OU = XXX, CN = machine_Name
error 20 at 0 depth lookup:unable to get local issuer certificate
certificate-manager.log file.VMware Update Manager 6.0
VMware vCenter Server 6.0.x
VMware vCenter Server Appliance 6.0.x
VMware vSphere ESXi 6.0
VMware vCenter Converter Standalone 6.x
VMware vCenter Server 8.0.x
This error is triggered by OpenSSL used by certificate-manager tool.
This issue occurs due to the certificate chain provided while replacing certificate does not have complete chain.
To resolve "error 20 at 0 depth lookup:unable to get local issuer certificate" when replacing Machine SSL or Solution user certificate with custom certificate follow the steps below -
Note: Certificate file will have component > Intermediate > root.