Skip to content

Instantly share code, notes, and snippets.

View freakstatic's full-sized avatar
🎯
Focusing

Ricardo Maltez freakstatic

🎯
Focusing
  • Sound Particles
  • Portugal
View GitHub Profile
@cezarignat
cezarignat / selfsign-vmware-modules.sh
Last active November 1, 2023 15:09
Self sign the required modules, vmmon and vmnet, for VMWARE to work with SecureBoot on, Ubuntu 17
#!/bin/sh
#Asking for sudo because the script needs it almost all the time
sudo echo -n
#Creating the key used to sign the two modules
echo 'Preparing vmware key...'
openssl req -new -x509 -newkey rsa:2048 -keyout VMWAREKEY.priv -outform DER -out VMWAREKEY.der -nodes -days 36500 -subj "/CN=VMware/"
#Sign the modules