I just installed Ubuntu 16.04 with secure boot and encountered the same [vmware-error](https://askubuntu.com/questions/762210/vmware-error-after-upgrade-to-ubuntu-16-04) as described there:

`modprobe: ERROR: could not insert 'vmnet': Required key not available`.

One way to circumvent this problem is to disable the secure boot, but I don't want to do that. The other way is to sign the kernel modules *by myself*, following this [very detailed thread](http://gorka.eguileor.com/vbox-vmware-in-secureboot-linux/). There is a tutorial on how to do that [in RHEL](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-signing-kernel-modules-for-secure-boot.html) and [in fedora](https://docs.fedoraproject.org/en-US/Fedora/22/html/System_Administrators_Guide/sect-signing-kernel-modules-for-secure-boot.html), but all of these solutions are relying on some script I cannot seem to find:

`sudo /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)`

Where do I find this `sign-file` script in Ubuntu?

---

Related: <https://github.com/bergwolf/rhel6/blob/master/Documentation/module-signing.txt> and [sign a module after kernel compilation](https://unix.stackexchange.com/questions/74022/sign-a-module-after-kernel-compilation).