/var/log/vmware/vcf/sddc-support/vcf-sos.log indicating certificate verification failure when connecting to certain components:Loading CA CERTSHTTPSConnectionPool(host='<hostname>', port=443): Max retries exceeded with url: /api/session (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate signature failure (_ssl.c:1006)')))verification error". The command should return "OK" if the certificate is valid.openssl verify -CAfile <openssl_ca_cert> <signed_cert>VMware SDDC Manager 9.x
The openssl CA certificate stored in SDDC manager trusted certificate store is corrupted or invalid.
Re-import a good copy of openssl CA certificate to SDDC manager trusted certificate store.
If the openssl CA certificate kept in vCenter trusted root store appears valid, below procedure can be followed to import the openssl CA certificate from vCenter to SDDC manager: How to import the vCenter root certificate into the SDDC manager TrustStore
The trusted certificates of vCenter and SDDC manager can be gathered using below commands respectively:
vCenter:
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store trusted_roots
SDDC manager:
keytool -list -v -keystore /etc/vmware/vcf/commonsvcs/trusted_certificates.store --storepass <trust store key>keytool -list -v -keystore /etc/alternatives/jre/lib/security/cacerts --storepass changeit
Below commands can be used to import certificate to SDDC manager trusted certificate store:
keytool -importcert -alias <aliasname> -file <certificate file> -keystore /etc/vmware/vcf/commonsvcs/trusted_certificates.store --storepass <trust store key>
keytool -importcert -alias <aliasname> -file <certificate file> -keystore /etc/alternatives/jre/lib/security/cacerts --storepass changeit
Reference: Keytool Commands for interacting with certificates in SDDC Manager Java Keystores