In ESXi 8.0 and later, the ESXi Entropy implementation supports the FIPS 140-3 and EAL4 certifications. Kernel boot options control which entropy sources to activate on an ESXi host.
In computing, the term “entropy” refers to random characters and data that are collected for use in cryptography, such as generating encryption keys to secure data transmitted over a network. Entropy is required by security for generating keys and communicating securely over the network. Entropy is often collected from a variety of sources on a system.
FIPS entropy handling is the default behavior if the following conditions are true.
- The hardware supports RDSEED.
- The disableHwrng VMkernel boot option isn’t present or is FALSE.
- The entropySources VMkernel boot option isn’t present, is 0 (zero), or is 4.
Starting with ESXi 8.0 Update 1, you can configure external entropy sources in the kickstart file for scripted installation. You can configure ESXi in a highly secure environment to consume entropy from external entropy sources, such as a Hardware Security Module (HSM), and align with standards such as BSI Common criteria, EAL4, and NIST FIPS CMVP, by using the scripted installation method. For more information about configuring external entropy sources, see the VMware ESXi Installation and Setup documentation.
You can configure the ESXi Entropy subsystem using the following VMkernel boot options:
VMkernel Boot Option | Option Type | Description | Default Value |
---|---|---|---|
disableHwrng (available prior to vSphere 8.0) | Boolean | Deactivates the RDRAND and the RDSEED entropy sources when set to TRUE (overrides "entropySources"). | FALSE Activates hardware random number generator entropy sources if present. |
entropySources (available starting in vSphere 8.0) | Integer, Bitmask | Specifies which entropy sources to activate.
Bitmask values:
|
0 (zero) If RDSEED is supported, the default is FIPS compliance. Otherwise the default is all entropy sources except entropyd. |
Prerequisites
You must have root access on the ESXi host.
Procedure
- Use SSH or another remote console connection to start a session on the ESXi host.
- Log in as root.
- Set the desired entropy VMkernel boot options.
- To deactivate the RDRAND and the RDSEED entropy sources for disableHwrng:
esxcli system settings kernel set -s disableHwrng -v TRUE
- To set entropySources:
esxcli system settings kernel set -s entropySources -v entropy_source_value
See the preceding table for the values that you can set for entropySources.
- To deactivate the RDRAND and the RDSEED entropy sources for disableHwrng: