VCF Operations add Offline depot: Failed to connect to VMware depot with the provided user credentials. Cause: Secure protocol communication error, check logs for more details.
search cancel

VCF Operations add Offline depot: Failed to connect to VMware depot with the provided user credentials. Cause: Secure protocol communication error, check logs for more details.

book

Article ID: 428162

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

In VCF Operations adding a Offline Depot with self signed certificate fails with error: 

 

Environment

VCF 9.0.2 Operations

Cause

The self signed certificate of the offline depot is not trusted by the SDDC manager.

Resolution

Add the root CA certificate from your Offline depot to the cacerts keystore in the SDDC manager appliance.

  1. Download the rootCA.crt from your offline depot webserver
  2. Rename the rootCA.crt to rootCA.pem
  3. Upload the rootCA.pem using SCP or WinSCP to the SDDC manager appliance using the vcf users home directory
  4. SSH into the SDDC manager appliance using the VCF user
  5. Become root by executing
    su -
  6. Import the rootCA.pem
    keytool -importcert -alias vcf9-depot.local -file /home/vcf/rootCA.pem --cacerts

    keytool password is:

    changeit
  7. Restart the SDDC manager services
    /opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh
  8. Retry the process of adding the Offline depot