![](http://2.bp.blogspot.com/-AH8xsGDNu04/WEZS-4tmdGI/AAAAAAAAM2c/iyRB-zzsm9MjYSq7UBnNK5dM83bixzuWgCK4B/s1600/upgrading-vsphere-6.0-to-vsphere-6.5.png)
vSphere 6.5 introduces the several latest features and improvements including one of the notable feature is the encrypted VMs. This guide will walk you through the steps configure and create encrypted VMs in vSphere 6.5.
Configuring Encrypted VMs in vSphere 6.5
To begin deploying encrypted VMs, first you need to add vCenter to a Key Management Server. To accomplish this, navigate to vCenter server inventory list, Click Manage > Key Management Servers > Add Server.
![](http://2.bp.blogspot.com/-x9OMvJPYN_c/WEZJS2E7PiI/AAAAAAAAM0w/DwO3kVbszT05CrzC_fHKxY4Ahr7-qhAGgCLcB/s1600/encrypted-vms-vsphere-6.5_1.png)
Provide the information for your cluster name, server alias, server address, and server port.
Click OK
![](http://1.bp.blogspot.com/-eOJYY5rYsLo/WEZJXjeEboI/AAAAAAAAM1Y/M7SbOeG7vnAUIaUa8kS9QYlAj8FguuCqwCLcB/s1600/encrypted-vms-vsphere-6.5_2.png)
Here you will see a security dialog prompts you to trust the certificate.
Click Trust
![](http://1.bp.blogspot.com/-kOYczvel3KA/WEZJhd6jhbI/AAAAAAAAM14/tsn1b65OLEEzkiw5K-KZukZId0cVDgeHwCLcB/s1600/encrypted-vms-vsphere-6.5_3.png)
Once trusted, you can see green check boxes next to the Certificate status as show in image below.
![](http://4.bp.blogspot.com/-ay-UQLNwd5U/WEZJiLaF_QI/AAAAAAAAM18/q04i3rBjty8fepXVzA4KJgeCUUPRAThlQCLcB/s1600/encrypted-vms-vsphere-6.5_4.png)
Under KM Servers, Set Cluster as default
![](http://2.bp.blogspot.com/-ZRkJwSA6Npw/WEZJivbPMoI/AAAAAAAAM2E/hQbMYkTvRMczmUTzlxkH0XYrsIvitSg3ACLcB/s640/encrypted-vms-vsphere-6.5_5.png)
Creating encryption Storage Policy
![](http://2.bp.blogspot.com/-rlQiPDgi3NU/WEZJicNDSsI/AAAAAAAAM2A/8hgtotdB-0Eca58Qdzzxt5LnHjaZGIJIACLcB/s640/encrypted-vms-vsphere-6.5_6.png)
Add a storage policy.
![](http://2.bp.blogspot.com/-5WdqUYa-OCI/WEZJi22QxcI/AAAAAAAAM2I/XRmRYPNWQB8mMZ52eKDtgqL8oOrmfLpnwCLcB/s1600/encrypted-vms-vsphere-6.5_8.png)
Provide Name for the policy.
![](http://2.bp.blogspot.com/-gwFS0RCrw0Q/WEZJjP7DevI/AAAAAAAAM2M/7G9kH0NTrIMGn0oPyyeurEkKVA5QC8HjwCLcB/s1600/encrypted-vms-vsphere-6.5_9.png)
Click Next
![](http://4.bp.blogspot.com/-P4G9M72rxIw/WEZJRhixygI/AAAAAAAAM0s/Twh5eEQqDOcTZNiERxSYKS95zGwzZbHoACLcB/s1600/encrypted-vms-vsphere-6.5_10.png)
Under Common Rules tab, Tick "Use common rules in the VM storage policy". Click Add Component, Click Encryption.
![](http://4.bp.blogspot.com/-LhKuOAx0MzQ/WEZJS-Huz6I/AAAAAAAAM00/trpnPUz_XDY1VNPjJiMWKg8K3gmhTePSwCLcB/s1600/encrypted-vms-vsphere-6.5_11.png)
Under the Rule-Set 1 tab, select the vmwarevmcrypt then Click Add rule, Click vmcrypt
![](http://4.bp.blogspot.com/-gFjV9mYd7Go/WEZJTGFvxPI/AAAAAAAAM04/lEgwl3fqI4Qlbn8BjuEz5aDO1z5uTyYHwCLcB/s1600/encrypted-vms-vsphere-6.5_12.png)
Leave the "Allow I/O filters before encryption" to false.
![](http://2.bp.blogspot.com/-gUxB0MZ-f-U/WEZJVP3ShLI/AAAAAAAAM1A/WGSmOdQbCQE2DGnooiISmj996uVqcCTpgCLcB/s1600/encrypted-vms-vsphere-6.5_13.png)
Uncheck the "Use rule-sets in the storage policy".
![](http://2.bp.blogspot.com/-7TTTa3qdLUY/WEZJVHHlNNI/AAAAAAAAM08/1asy6t_GcAcZBIwUPukUjOogEu1-sqU0QCLcB/s1600/encrypted-vms-vsphere-6.5_14.png)
The following screen shows the storage compatibility.
![](http://4.bp.blogspot.com/-NVCVuDpIxb8/WEZJVbZyD7I/AAAAAAAAM1E/h3TWxLrhs_s5D7bkyc2CteI45-NMYVcEgCLcB/s1600/encrypted-vms-vsphere-6.5_15.png)
Click Finish to create the encryption storage policy.
![](http://1.bp.blogspot.com/-GDVvppwBIYQ/WEZJWnWGmEI/AAAAAAAAM1Q/A_rZcTTFW5AGuUERerlc1Z28GojQX1a2QCLcB/s1600/encrypted-vms-vsphere-6.5_16.png)
Here you can see EncryptionPolicy is now listed in the available VM storage policies.
![](http://2.bp.blogspot.com/-81V6dX0YBjQ/WEZJWSldtuI/AAAAAAAAM1M/KqhBSbwvzGQ19YyUsM3GUSZFIGp4dX86QCLcB/s640/encrypted-vms-vsphere-6.5_17.png)
Creating encrypted VM
![](http://1.bp.blogspot.com/-DBa1ZoLtzmU/WEZJWMefo5I/AAAAAAAAM1I/wiTsTvmsbCI_wOcwXEIWPlMf5CT3kq2KQCLcB/s640/encrypted-vms-vsphere-6.5_18.png)
Under Select a creation type, select Create a new virtual machine. Click Next
![](http://4.bp.blogspot.com/-FgjGrC1FRJs/WEZJXJWRBqI/AAAAAAAAM1U/WAta3A8eLto_gsf4ENLj6VxBtX-f0b16wCLcB/s1600/encrypted-vms-vsphere-6.5_19.png)
Provide the VM name and select the folder where you want to store VM
![](http://4.bp.blogspot.com/-_aNmg_tO-Zo/WEZJXs663CI/AAAAAAAAM1c/q1W3T4Tfz78Uf7lUnDpY564_9K-SkDkVgCLcB/s1600/encrypted-vms-vsphere-6.5_20.png)
Select a compute resource
![](http://2.bp.blogspot.com/-r4cPpvodEQs/WEZJYHbGTUI/AAAAAAAAM1g/PZRdjm3-BHoBl2TEayH1hdzsBwHXeIATwCLcB/s1600/encrypted-vms-vsphere-6.5_21.png)
Select your Encryption Policy from the VM storage policy drop down.
![](http://1.bp.blogspot.com/-tKwDNgwoTKU/WEZJaQ48AqI/AAAAAAAAM1k/aGNsynyPbdIM8Mi45yJKm35G2aqjgyEcgCLcB/s1600/encrypted-vms-vsphere-6.5_22.png)
Leave the compatibility with ESXi 6.5 and later. Click Next
![](http://4.bp.blogspot.com/-yxz0q3g1HkY/WEZJa1owMDI/AAAAAAAAM1o/jhAltKtJoA0zVaYpSyVx6NjkZS4dTJUTQCLcB/s1600/encrypted-vms-vsphere-6.5_23.png)
Choose your guest operating system family and version. Click Next
![](http://1.bp.blogspot.com/-wrdSZeo4Oo8/WEZJc3jDfeI/AAAAAAAAM1s/7b9VKWGFtzsiWwDFN9HYBNnBb1h4RrxBQCLcB/s1600/encrypted-vms-vsphere-6.5_24.png)
When you expand the hard disk for the VM, notice how the VM storage policy shows the Encryption Policy.
![](http://4.bp.blogspot.com/-Fv8dx70bWe8/WEZJgP6kaYI/AAAAAAAAM1w/o4m1qRapZ-wjBcwUSpCQhbTgH2Ti9Q6igCLcB/s1600/encrypted-vms-vsphere-6.5_25.png)
Another useful feature is the Encrypted vMotion. You can configure setting here to determine how the VM handles vMotion to another host.
There are three options here:
- Disabled – Do not use encrypted vMotion
- Opportunistic – Use encrypted vMotion if the destination host supports it, otherwise use normal vMotion
- Required – The vMotion process with this VM must use encrypted vMotion. If the vMotion operation doesn’t support encryption on the destination host, the vMotion operation will fail.
Choose your option and click Next
![](http://2.bp.blogspot.com/-IXTDeO1snjg/WEZJhLoS88I/AAAAAAAAM10/9dGburWyct8_3QTg1bTV92VFQPV_Qr6UQCLcB/s1600/encrypted-vms-vsphere-6.5_26.png)
I hope this guide was useful to configure and create encrypted virtual machines within the vSphere 6.5.