While installing virtualbox, I ran into this issue https://stackoverflow.com/questions/55004803/install-virtualbox-6-on-mac-10-14-mojave-failed-with-kernel-install-error
Net: the Oracle/VirtualBox ID is NOT in the approved keys/certs.
I did not follow the exact steps.
- Launch Terminal
- sudo -s
- Enter password for the user to switch
- Install VirtualBox
- spctl kext-consent –enable
At the end of the steps, I was able to launch VirtualBox. I did not have to reboot.