Latest Posts



Translate

Total Pageviews

Monday, 18 January 2016

Thumbprint Error when running ESXCLI command as vCLI Command

Issue:-
You install vCLI on a supported Windows or Linux system, and run an ESXCLI command against an ESXi host or against a vCenter Server system. An error like the following results:



The command fails because no thumbprint for the ESXi host is stored in the vCenter Server
certificate store. As a result of running the command, the thumbprint of the ESXi host appears
as part of the error message.

The error occurs because ESXCLI in vSphere 6.0 is more secure than in earlier versions of vSphere and requires a trust relationship between the system on which you run an ESXCLI vCLI command and the target vCenter Server system or ESXi host.

Solution:-
You add the ESXi host thumbprint to the certificate store on the vCenter Server system so that a
trust relationship exists between the host and the server. This trust relationship is necessary to run
ESXCLI commands.

/usr/lib/vmware-vcli/apps/general/credstore_admin.pl add -s server -t thumbprint