Web
Analytics Made Easy - StatCounter

vSphere VMs encryption: setup vCenter Server - pt.2

virtual-machines-encryption-setup-vcenter-01

To take advantage of virtual machines encryption feature in VMware vSphere, the KMS Server and the vCenter Server must be properly configured to establish a connection.

Once the KMS Server has been installed and configured, the vCenter Server must be configured accordingly to establish a trust with the KMS.

 

Blog series

vSphere VMs encryption: KMS Server installation - pt.1
vSphere VMs encryption: setup vCenter Server - pt.2
vSphere VMs encryption: encrypt virtual machines - pt.3

 

Setup the vCenter Server

From the vSphere Web Client, right click the vCenter Server and select Settings.

virtual-machines-encryption-setup-vcenter-02

In Configure tab select the Key Management Servers option under More and click Add KMS icon to add the KMS Server previously configured.

virtual-machines-encryption-setup-vcenter-03

Specify the required parameters and click OK to save the configuration. Optionally the User name to use is the user created during the KMS configuration.

virtual-machines-encryption-setup-vcenter-04

Since it's the first KMS cluster configured, click Yes to set it as default.

virtual-machines-encryption-setup-vcenter-05

Click Trust button in the displayed certificate.

virtual-machines-encryption-setup-vcenter-06

The KMS Server has been added. Note the Connection Status is reported as Cannot establish a trust relationship.

virtual-machines-encryption-setup-vcenter-07

Next step is to establish a trust relationship between the vCenter Server and the KMS Server. From All Actions drop-down menu select Establish trust with KMS.

virtual-machines-encryption-setup-vcenter-08

Select Upload certificate and private key option then click OK.

virtual-machines-encryption-setup-vcenter-09

You need to upload the file username.pem downloaded from the KMS Server twice. Click the Upload file button for the KMS certificate and the private key then select the username.pem certificate (VCSA.pem in the example) and click Upload file.

virtual-machines-encryption-setup-vcenter-10

After selecting the file twice, click OK to upload the certificate.

virtual-machines-encryption-setup-vcenter-11

When the certificate has been imported, the Connection Status is reported as Normal.

virtual-machines-encryption-setup-vcenter-12

The trust between the KMS Server and the vCenter Server has been established successfullyPart 3 will cover the final step of the procedure, that is the encryption of the virtual machines.

signature

Leave a Reply