VMware vSphere

 View Only

 FreeBSD vTPM Support in Vcenter - 8.0.3

Arun Theeban's profile image
Arun Theeban posted Oct 14, 2026 09:17 AM

I’m running vCenter/ESXi 8.0.3. Broadcom KB 409087 says vTPM is supported only for Windows and Linux guests. For “Other” guest types, it suggests changing the OS type to Linux and using EFI to add vTPM.

Is FreeBSD excluded because of a technical incompatibility with its TPM driver, or because it isn’t certified and the UI blocks “Other” guests? I’m looking for the technical explanation and any known test results.

vmwarefan2's profile image
vmwarefan2

It's a support-matrix limitation rather than a technical incompatibility. The vTPM is a standard TPM 2.0 device, and FreeBSD 13 and later ships a TPM 2.0 driver that can communicate with it, so there is no fundamental driver conflict. Broadcom simply certifies and enables the UI option only for Windows and Linux guest OS types. In practice, configure the VM with EFI firmware and use the documented workaround of temporarily switching the guest OS type to Linux to add the vTPM, which FreeBSD will generally detect and use, keeping in mind the combination remains officially unsupported.

Andrea Consalvi's profile image
Andrea Consalvi

To add a bit of detail: there’s no technical block on the FreeBSD side. The TPM 2.0 driver (CRB and TIS/FIFO modes) has been in the tpm(4) module since FreeBSD 12, not just 13. The limit is purely on the vSphere side: FreeBSD guest types fall under the “Other” family, and the vTPM option is only offered for Windows and Linux guest OS types.

What worked for me:

  1. Power off the VM, set Firmware to EFI.
  2. Temporarily change the guest OS to Linux / Other 4.x or later Linux (64-bit).
  3. Add the Trusted Platform Module device (a key provider must already be configured in vCenter).
  4. Inside FreeBSD, the driver isn’t loaded by default with GENERIC. Add tpm_load="YES" to /boot/loader.conf, reboot, and check dmesg | grep -i tpm and that /dev/tpm0 exists.
  5. For userland, security/tpm2-tools from ports/pkg.

Keep in mind it stays an unsupported combination, so test it before relying on it for anything critical (e.g. key sealing).