Wednesday Tidbit: Connecting vCenter to vCloud Air

20150812 - 1Recently I signed up with VMware vCloud Air, as I want to use it as an endpoint for machines provisioned in the lab by vRealize Automation.  Before I could get to that, I need to link my vCenter to vCA, which turned out to be trickier then I first imagined…

Logon to vCenter Web Client. From the homepage, click vCloud Air. Click Install the vCloud Air plug-in, and then enter your details when requested.

The plugin will then install and ask you to logout and then back in.

On a Linux machine, run the following command:

echo -n | openssl s_client -connect | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/

If your vCenter is the Linux-based vCSA, and you downloaded the certificate to it using the above command, use this to add the certificate to the local keystore:

/usr/java/jre-vmware/bin/keytool -alias vchs -v -keystore /usr/lib/vmware-vsphere-client/server/configuration/keystore -storepass changeit -import -file /tmp/

Type Y to import the certificate.

If your vCenter runs on Windows, copy to it and install Java. Then use the following command:

"C:\Program Files (x86)\Java\jre7\bin\keytool.exe" -alias vchs -v -keystore "C:\Program Files\VMware\Infrastructure\vSphereWebClient\server\configuration\keystore" -storepass changeit -import -file C:\

Again, type Y to import the certificate.

Now you have installed the SSL certificate, you can register your vCloud Air account. If you do not do the above beforehand, you will receive the following error:

20150812 - 2

Leave a Reply

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

You are commenting using your 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