Skip to content

Instantly share code, notes, and snippets.

@konstruktoid
Last active March 3, 2022 00:25
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konstruktoid/fafbaa7e6816dbefddd7600076cca60d to your computer and use it in GitHub Desktop.
Save konstruktoid/fafbaa7e6816dbefddd7600076cca60d to your computer and use it in GitHub Desktop.
Installing Developer ID certificates on Mac OS X

Installing Developer ID certificates on Mac OS X

Short guide showing how to install Developer ID certificates, when the Allow button doesn't show up under System Preferences > Security & Privacy > General or you're seeing (libkern/kext) system policy prevents loading; check the system/kernel logs for errors or try kextutil(8). in the installation logs (CMD + L).

System information

macOS Catalina
ProductName:    Mac OS X
ProductVersion: 10.15.4
BuildVersion:   19E287

Software tested

OSXFuse - https://github.com/osxfuse/osxfuse

VirtualBox - https://www.virtualbox.org/

How to

  1. Identify the Developer ID certificate strings, these are found behind the question mark when installing an app
  2. Oracle Developer ID: VB5E2TV963, OSXFuse ID: 3T5GSNBU6W
  3. Reboot into recovery mode - https://support.apple.com/en-us/HT201314
  4. Open a terminal via the top menu after logging in
  5. Run spctl kext-consent add <Developer ID> as needed
  6. Reboot

For example:

# spctl kext-consent status 
Kernel Extension User Consent: ENABLED
# spctl kext-consent add VB5E2TV963
# spctl kext-consent add 3T5GSNBU6W
# spctl kext-consent list  
Allowed Team Identifiers:
VB5E2TV963
3T5GSNBU6W

Related

osxfuse/osxfuse#654

https://developer.apple.com/library/archive/technotes/tn2459/_index.html

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