Skip to main content

Posts

Check ESXi TPM details from vCenter server

  Vcenter Server->Monitor ->Security here ESXI will list as below with TPM version if installed.

A general runtime error occurred. Key provider NKP is not compatible with the host . Reason: "TPM2 device is required."

 Error: A general runtime error occurred. Key provider NKP is not compatible with the host . Reason: "TPM2 device is required." Solution: Create a new Native Key Provider with "TPM" option unchecked as below:

A general runtime error occurred. Key provider NKP is not compatible with the host . Reason: "The host does not support Native Key Provider because it is not in a cluster

 Error: While creating a VM on encrypted datastore as: A general runtime error occurred. Key provider NKP is not compatible with the host . Reason: "The host does not support Native Key Provider because it is not in a cluster  Solution: Move the ESXi host to a cluster and re-try the operation

Linux machine encrypt and decrypt a password string

  1)For encrypt use below command: for the password" Ranjith"  echo Ranjith | openssl enc -aes-256-cbc -a -salt -pass pass:tecmint [root@ranjith]# echo Ranjith | openssl enc -aes-256-cbc -a -salt -pass pass:tecmint U2FsdGVkX1/lvI5yT7l7fPeg/thWbJN76DlM++FltEKqWUzJKGSjo 2)To decrypt the above encrypted string use: echo <> | openssl enc -aes-256-cbc -a -d -salt -pass pass:tecmint [root@ranjith]# echo U2FsdGVkX1/lvI5yT7l7fPeg/thWbJN76DlM++FltEKqWUzJKGSjo | openssl enc -aes-256-cbc -a -d -salt -pass pass:tecmint Ranjith

Linux Stop Firewall and disable permanently

 In Linux we can stop firewalld service by below commands: $ systemctl status firewalld $ systemctl stop firewalld To Disable permanently: $ chkconfig firewalld off