Skip to content

Instantly share code, notes, and snippets.

@yaoxiangg
yaoxiangg / gist:08088593d978771b5ff1fa6e75ba7783
Created November 8, 2018 08:24
Making ISO from OSX Installer.app
Setup OSX VM on Windows (VMWare) - 10.12 Sierra Onwards
Download Link: https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?mt=12
1. Create a .iso image from the OSX Installer.app downloaded from iTunes
hdiutil create -o /tmp/HighSierra.cdr -size 5200m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg /tmp/HighSierra.dmg

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096