How to capture OVFTool logs to troubleshoot Client Support Plugin issues in vCloud Director

Follow the steps given below to capture OVFTool logs:

  1. Open vCD UI in browser by adding ?debug=true at the end. For example see URL: https://xx.xxx.xxx.xx/cloud/?debug=true
  2. Now reproduce the issue
  3. Collect the client logs from the client machine. If client machine is windows, then the logs will be at following location:
    1. %TEMP%\VMwareClientSupportPlugin\
Continue Reading

Creating and importing self-signed SSL certificates for vCD using keytool

To create and import self-signed SSL certificates:
  1. Create an untrusted certificate for the HTTP service host with the command:keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -alias http
  2. Enter the fully qualified domain name of the HTTP service host when prompted for your first name and last name.
  3. Create an untrusted certificate for the console proxy service host with the command:keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -alias consoleproxy
  4. Verify that all the certificates have been imported, list the contents of the keystore file with the command:keytool -storetype JCEKS -storepass passwd -keystore certificates.ks -list
Notes:
  • By default, certificates are valid only for 3 months. To increase the duration, add the switch -validity number_of_days when creating your certificate.
  • After creating the certificates, you must run the /opt/vmware/vcloud-director/bin/configure script. This script prompts you for the SSL certificates. After you enter the required passwords, the vCloud Director service starts.
Continue Reading