Before ESXi 8.0U3j, when powering on VM for the first time, a PK(Platform Key) with empty content will be generated from host by design.
This has been fixed in ESXi 8.0U3j. This article introduces 2 ways to verify the PK content integrity at vSphere level.
※ The VM should be at least powered on once before verification.
Approach 1
cd /vmfs/volumes/<Datastore-Name>/<VM-Name>hexdump -C *nvram | grep -B15 PK######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |Z1.0...U....US1.|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |0...U....Microso|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |ft Corporation1+|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |0)..U..."Microso|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |ft RSA Third Par|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |ty PCA 20230...2|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |30921202826Z..38|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |0918202826Z0u1.0|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |...U....US1.0...|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |U....Washington1|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |.0...U....Redmon|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |d1.0...U....Micr|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |osoft Corporatio|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |n1.0...U....Wind|
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |ows OEM Devices |
######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |PK0.."0...*.H...|
Approach 2
uefi.allowAuthBypass = "TRUE"