Skip to content

Instantly share code, notes, and snippets.

View njmyers's full-sized avatar
👨‍💻
Working

Nicholas Myers njmyers

👨‍💻
Working
  • New York City
View GitHub Profile
@njmyers
njmyers / vm-secureboot.md
Created July 4, 2019 21:07 — 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/"