{"id":34424,"date":"2018-09-13T09:00:29","date_gmt":"2018-09-13T07:00:29","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=34424"},"modified":"2023-07-16T11:27:56","modified_gmt":"2023-07-16T09:27:56","slug":"vsphere-vms-encryption-setup-vcenter-server-pt-2","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/vsphere-vms-encryption-setup-vcenter-server-pt-2\/","title":{"rendered":"vSphere VMs encryption:\u00a0setup vCenter Server - pt.2"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-34484 size-full\" title=\"virtual-machines-encryption-setup-vcenter-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-01.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>To take advantage of virtual machines encryption feature in <a href=\"https:\/\/nolabnoparty.com\/en\/mastering-vmware-vsphere-6-5-book-2\/\">VMware vSphere<\/a>, the KMS Server and the vCenter Server must be properly configured to establish a connection.<\/p>\n<p>Once the <a href=\"https:\/\/www.hytrust.com\/\" target=\"_blank\" rel=\"noopener\">KMS Server<\/a> has been installed and configured, the vCenter Server must be configured accordingly to <strong>establish a trust<\/strong> with the KMS.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Blog series<\/h2>\n<p><a href=\"https:\/\/nolabnoparty.com\/en\/vsphere-vms-encryption-kms-server-installation-pt-1\/\">vSphere VMs encryption: KMS Server installation - pt.1<\/a><br \/>\nvSphere VMs encryption:\u00a0setup vCenter Server - pt.2<br \/>\n<a href=\"https:\/\/nolabnoparty.com\/en\/vsphere-vms-encryption-encrypt-virtual-machines-pt-3\/\">vSphere VMs encryption: encrypt virtual machines - pt.3<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Setup the vCenter Server<\/h2>\n<p>From the vSphere Web Client, right click the vCenter Server and select <strong>Settings<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34449 size-large\" title=\"virtual-machines-encryption-setup-vcenter-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-02-600x474.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-02\" width=\"600\" height=\"474\" \/><\/p>\n<p>In <strong>Configure<\/strong> tab select the <strong>Key Management Servers<\/strong> option under <strong>More<\/strong>\u00a0and click <strong>Add KMS icon<\/strong> to add the KMS Server previously configured.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34451 size-large\" title=\"virtual-machines-encryption-setup-vcenter-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-03-600x308.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-03\" width=\"600\" height=\"308\" \/><\/p>\n<p>Specify the required parameters and click <strong>OK<\/strong> to save the configuration. Optionally the <strong>User name<\/strong> to use is the user created during the KMS configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34453 size-full\" title=\"virtual-machines-encryption-setup-vcenter-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-04.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-04\" width=\"427\" height=\"442\" \/><\/p>\n<p>Since it's the first KMS cluster configured, click <strong>Yes<\/strong> to set it as default.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34458 size-full\" title=\"virtual-machines-encryption-setup-vcenter-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-05.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-05\" width=\"386\" height=\"160\" \/><\/p>\n<p>Click <strong>Trust<\/strong> button in the displayed certificate.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34460 size-large\" title=\"virtual-machines-encryption-setup-vcenter-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-06-600x471.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-06\" width=\"600\" height=\"471\" \/><\/p>\n<p>The KMS Server has been added. Note the <strong>Connection Status<\/strong> is reported as <strong>Cannot establish a trust relationship<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34462 size-large\" title=\"virtual-machines-encryption-setup-vcenter-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-07-600x229.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-07\" width=\"600\" height=\"229\" \/><\/p>\n<p>Next step is to\u00a0establish a trust relationship\u00a0between the vCenter Server and the KMS Server.\u00a0From <strong>All Actions<\/strong>\u00a0drop-down menu select <strong>Establish trust with KMS<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34464 size-large\" title=\"virtual-machines-encryption-setup-vcenter-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-08-600x229.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-08\" width=\"600\" height=\"229\" \/><\/p>\n<p>Select <strong>Upload certificate and private key<\/strong>\u00a0option then click <strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34466 size-large\" title=\"virtual-machines-encryption-setup-vcenter-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-09-600x443.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-09\" width=\"600\" height=\"443\" \/><\/p>\n<p>You need to upload the file\u00a0<em>username.pem<\/em>\u00a0downloaded from the KMS Server twice. Click the <strong>Upload file<\/strong> button for the KMS certificate and the private key then select the <em>username.pem<\/em> certificate (VCSA.pem in the example) and click <strong>Upload file<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34468 size-large\" title=\"virtual-machines-encryption-setup-vcenter-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-10-600x453.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-10\" width=\"600\" height=\"453\" \/><\/p>\n<p>After selecting the file twice, click <strong>OK<\/strong>\u00a0to upload the certificate.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34470 size-full\" title=\"virtual-machines-encryption-setup-vcenter-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-11.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-11\" width=\"527\" height=\"592\" \/><\/p>\n<p>When the certificate has been imported, the <strong>Connection Status<\/strong> is reported as <strong>Normal<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-34472 size-large\" title=\"virtual-machines-encryption-setup-vcenter-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/08\/virtual-machines-encryption-setup-vcenter-12-600x249.jpg\" alt=\"virtual-machines-encryption-setup-vcenter-12\" width=\"600\" height=\"249\" \/><\/p>\n<p>The trust between the KMS Server and the vCenter Server has been <strong>established successfully<\/strong>.\u00a0<a href=\"https:\/\/nolabnoparty.com\/en\/vsphere-vms-encryption-encrypt-virtual-machines-pt-3\/\">Part 3<\/a> will cover the final step of the procedure, that is the encryption of the virtual machines.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":3,"featured_media":34484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2701],"tags":[1888,1889,583,1551],"class_list":["post-34424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-vsphere-en","tag-kms","tag-trust","tag-vcenter-en","tag-vcsa","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/34424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=34424"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/34424\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/34484"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=34424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=34424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=34424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}