Failed to connect to authorization server" or "Failed to connect to Broadcom OAuth Authorization serverjavax.net.ssl.SSLHandshakeException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested targetTLS/HTTPS interception), the firewall intercepts outbound connections to online VCF software depot URLs (e.g. dl.broadcom.com, eapi.broadcom.com) and re-encrypts the traffic using its own CA-signed certificate instead of the real Broadcom certificate. Since the Software Depot trust store does not contain the firewall's Root CA/Intermediate CA, the TLS handshake fails and the online depot cannot be configured or used.add_trusted_certificate.py attached to this KB.add_trusted_certificate.py to the VCF SDDC Manager /home/vcf/ directory.vcf user and then elevate to root with su.add_trusted_certificate.py script ( When prompted provide the admin@vsp.local password )python3 add_trusted_certificate.py --vsp-fqdn <vsp-fqdn> --fetch-from-proxy proxy.corp.example.com:8080 --connect-host eapi.broadcom.com:443.pem file:python3 add_trusted_certificate.py --vsp-fqdn <vsp-fqdn> --cert-file /tmp/firewall-root-ca.pem<vsp-fqdn> is the VMSP Platform / VCF Services Runtime hostname.leaf certificate <------ ( skip if not there )
intermediate CA <------ ( mandatory )
root CA <------ ( mandatory )