$> /opt/vmware/vcf/lcm/vcf-download/bin/vcf-download-tool binaries upload --depot-store /nfs/vmware/vcf/nfs-mount/download/ --sddc-manager-fqdn <IP ADDRESS/FQDN> --sddc-manager-user admin@local
Error: Failed to create token. API status code 0. API response null
YYYY-MM-DDT03:06:49.252+0000 [main] ERROR [com.vmware.evo.sddc.lcm.tools.bundletransferv2.exceptionhandler.ExecutionExceptionHandler] Application failed. com.vmware.evo.sddc.lcm.tools.bundletransfer.exception.BundleTransferUtilityException: Failed to create token. API status code 0. API response null
...
Caused by: com.vmware.cloud.foundation.rest.commonsvcs.runtime.ApiException: javax.net.ssl.SSLPeerUnverifiedException: Hostname <IP ADDRESS/FQDN> not verified:
...
Caused by: javax.net.ssl.SSLPeerUnverifiedException: Hostname <IPADDRESS/FQDN> not verified:
certificate: sha256/#########################################=
DN: CN=sddc-manager, OU=vmware, O=vmware, L=Palo Alto, ST=CA, C=US
subjectAltNames: [sddc-manager]
VMware Cloud Foundation 9.0
The vcf installer was deployed using the short name.
The certificate that was created as part of installation contains the short name CN
Use the short name instead of IP Address/FQDN for the --sddc-manager-fqdn parameter when using the vcf-download-tool to upload binaries.
For e.g.
$> /opt/vmware/vcf/lcm/vcf-download/bin/vcf-download-tool binaries upload --depot-store /nfs/vmware/vcf/nfs-mount/download/ --sddc-manager-fqdn sddc-manager --sddc-manager-user admin@local