Troubleshoot vCloud Director SSL Certificates Installation Issue


Prior to vCloud director installation you need to generate SSL certificates for your http and console-proxy connections. You can also you certificates purchased from certificate issuing company if you are planning to use your vCloud environment over the internet.

I am using self-signed certificates in my Home Lab and instructions for how to generate the certificates I have covered in my earlier post

When vCloud installer is run it invokes a script to configure the vCloud director and in the process it asks for the path to the certificates which will be used in securing the http and console-proxy connections.

I have generated the certificate (vcd.ks) on my root partition as visible in below screenshot.

cert-1

Now when I executed the vCloud installer (vcloud-director.bin file) it invoked a script for configuring the vCloud setup and was asking for the path to the certificate. I entered /root/vcd.ks but the installer was throwing an error that “file could not be found”.

This was surprising as there can’t be any issues regarding the permission as I was login using root user account which has super administrator privilege in the system. So I was scratching my head why it is not able to read the certificate file from /root partition.

cert-2

I even tried moving my certificate to some other location and then providing the full path of certificate to the installer but still no luck. I was getting frustrated. Then I realized that the installer script is trying to search my certificate file in vcloud director directory (/opt/vmware/vcloud-director). I opened a new putty session to my server and copied the vcd.ks file in the /opt/vmware/vcloud-director folder.

[root@vcd~]# cd /opt/vmware/vcloud-director

[root@vcd~]# cp /root/vcd.ks  .

cert-3

Now when I provided the certificate name to the installer it accepted it and asked for the password created for certificate file.

Duh!!! Finally resolved. Still that question is haunting me why the installer did not accepted the /root path of my certificate.

About Alex Hunt

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in vCloud Director, Vmware and tagged . Bookmark the permalink.

4 Responses to Troubleshoot vCloud Director SSL Certificates Installation Issue

  1. Pingback: Troubleshoot vCloud Director Database Connection Issue | Go Virtual.

  2. Pingback: Troubleshoot vCloud Director Database Connection Issues | Go Virtual.

  3. Pingback: Building a Private Cloud with vCloud Director-Part 4: Installing vCloud Director | Go Virtual.

  4. Pingback: Install vCloud Director 8 with High Availability | Virtual Reality

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s