Skip to content

Instantly share code, notes, and snippets.

View chozian's full-sized avatar
👽
Contemplating the mysteries of the universe

Chris Hozian chozian

👽
Contemplating the mysteries of the universe
View GitHub Profile
@chozian
chozian / vm-secureboot.md
Created June 6, 2019 16:23 — forked from gabrieljcs/vm-secureboot.md
Instructions on signing VirtualBox and VMware modules for Secure Boot

Signing VirtualBox & VMware modules

Source

Creating a key

You can change "MOK".priv/.der to any desired name; "CN=" MUST hold your username, signing the modules may not work otherwise (on shim, possibly due to a bug).

$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=John Doe/"