Recently while working in my lab, I deployed a proxy server and configured my SDDC Manager to use that proxy server to talk to internet.
SDDC Manager was happily talking to internet, but when I tried configuring MYVMware credentials to download product binaries, operation was failing with error “Updating depot user credentials failed”
Tried configuring credential via API (as UI sometime acts weird), but operation failed again.
curl http://localhost/lcm/depot/user -H ‘Content-Type: application/json’ -X PUT -d ‘{“userId”:”xxx@vmware.com”, “password”:”<PASSWORD>”}’
and got error 500 in response
1 2 3 4 5 |
{ "status":500, "code":"VMWARE_DEPOT_CONNECT_FAILURE", "message":"Depot Not Available" } |
On further investigation I found that the issue was with proxy server itself as it was not trusting certificate returned by depot.vmware.com and thus causing lcm-bundle-transfer to fail.
Google search returned nothing for this issue and I had to reach out to VCF engineering team. Issue was fixed by adding a parameter lcm.depot.adapter.certificateCheckEnabled in /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties file.
And that’s it for this post.
I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing 🙂