Encrypting the ESX password

Before you specify passwords in the XML configuration file, you must encrypt them by using the vcsencrypt utility.

Perform these steps for all the passwords to be specified in the XML file.

To encrypt a password

  1. Run the vcsencrypt utility by typing the following on the command line.

    C:\> vcsencrypt -agent

  2. The utility prompts you to enter the password twice. Enter the password and press Enter.

    Enter New Password:

    Enter Again:

  3. The utility encrypts the password and displays the encrypted password.
  4. Specify this encrypted password in the XML file.