Skip to content

Running VirtualBox with own swtpm instance #942

Closed Answered by akorb
akorb asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out! It indeed had to do with the configuration of VirtualBox and nothing with SWTPM itself. I wrote a bit more about it here: https://forums.virtualbox.org/viewtopic.php?p=552039#p552039

In short, you can get it working by telling VirtualBox to still announce the TPM via ACPI even if it is set to use an external SWTPM process with:

# Set VM to use an external SWTPM process
.\VBoxManage.exe modifyvm "VMname" --tpm-type=swtpm --tpm-location=127.0.0.1:2321
# Tell it to still announce it via ACPI
.\VBoxManage.exe setextradata "VMname" "VBoxInternal/Devices/acpi/0/Config/TpmMode" "fifo2.0"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by akorb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants