Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsonmoreirajr/8c2757d9d0381224c60ce5c23f546ef5 to your computer and use it in GitHub Desktop.
Save edsonmoreirajr/8c2757d9d0381224c60ce5c23f546ef5 to your computer and use it in GitHub Desktop.
https://www.youtube.com/watch?v=be-nIv57LmA&ab_channel=BeTrend
$ sudo vmware-modconfig --console --install-all
$ openssl req -new -x509 -newkey rsa:2048 -keyout VMWARE15.priv -outform DER -out VMWARE15.der -nodes -days 36500 -subj "/CN=VMWARE/"
$ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE15.priv ./VMWARE15.der $(modinfo -n vmmon)
$ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE15.priv ./VMWARE15.der $(modinfo -n vmnet)
$ tail $(modinfo -n vmmon) | grep "Module signature appended"
$ sudo mokutil --import VMWARE15.der
now reboot
$ reboot
run below command after Reboot
$ mokutil --test-key VMWARE15.der
if terminal shows like already enrolled means we have solved the problem successfully
now open vmware
@Alirezahdpur
Copy link

mokutil --test-key VMWARE15.der
Failed to accesss kernel trusted keyring: Required key not available
VMWARE15.der is not enrolled

@hyperlag
Copy link

mokutil --test-key VMWARE15.der Failed to accesss kernel trusted keyring: Required key not available VMWARE15.der is not enrolled

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment