Secure Boot certificate update failures or warnings in VMware virtual machines as Microsoft Secure Boot certificates approach expiration.
One or more of the following symptoms may be present:
Important Note:
mokutil --pk
$pk = Get-SecureBootUEFI -Name PK
$bytes = $pk.Bytes
$cert = $bytes[44..($bytes.Length-1)]
[IO.File]::WriteAllBytes("PK.der", $cert)
certutil -dump PK.derPS C:\> $pk = Get-SecureBootUEFI -Name PKPS C:\> $bytes = $pk.BytesPS C:\> $cert[44..($bytes.Length-1)]Cannot index into a null array.At line:1 char:1+ $cert[44..($bytes.Length-1)]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArraymokutil --kek
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI KEK).Bytes) -match 'Microsoft Corporation KEK 2K CA 2023'If Secure Boot updates continue to fail after the required KEK is installed, contact Broadcom Support for further assistance.