Troubleshooting SDDC Depot connection issues.
Symptoms:
Unable to connect to the Online Depot from the SDDC UI.
VMware Cloud Foundation
Verify if the environment is using a proxy:
SDDC UI -> Administration -> Proxy Settings
In 5.x environments the proxy config is now stored in the platform DB.
/usr/pgsql/13/bin/psql -h localhost -U postgres -d platform -c "select * from proxy_config"
id | proxy_enabled | proxy_host | proxy_port | creation_time | modification_time | transfer_protocol | proxy_authenticated
--------------------------------------+---------------+------------------+------------+---------------+-------------------+-------------------+---------------------
db70a7e1-44d3-457b-bd58-23248c257fa1 | t | <proxyfqdn> | 3128 | 1703705170905 | 1705599942206 | HTTP | f
(1 row)
In 4.x environments the proxy config is stored in /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Potential causes:
1. LCM service is not running
2. Firewall blocking 443 traffic between SDDC Manager and depot.vmware.com
3. Depot certificate is missing from the SDDC trusted certificate store.
echo off | openssl s_client -connect depot.vmware.com:443 2>&1 | openssl x509 -outform PEM 1> /tmp/depot.crt && keytool -importcert -alias depot_cert -file /tmp/depot.crt -keystore /etc/alternatives/jre/lib/security/cacerts --storepass changeit
Note: If they're using a proxy:
Example (replace the proxy fqdn & port number):
echo off | openssl s_client -proxy <proxy-fqdn>:<proxy port> -connect depot.vmware.com:443 2>&1 | openssl x509 -outform PEM 1> /tmp/depot.crt && keytool -importcert -alias depot_cert -file /tmp/depot.crt -keystore /etc/alternatives/jre/lib/security/cacerts --storepass changeit
4. Incorrect Depot credentials
5. Account is locked out.
6. SSL inspection configured on proxy or firewall
Symptoms:
Able to connect to the depot with the curl command. (Credentials are authenticating)
Able to connect to the depot with openssl (Verifies certificates are valid and port 443 is open)
Receive invalid user credentials when connecting depot in UI.
Resolution:
Work with customer's firewall/proxy team and allow the VMware certificates.
Trust the signing certificate of the proxy into SDDC trust store.