This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #Heith Seewald 2012 | |
| #Garoe Dorta 2015 | |
| # Also based on https://gist.github.com/MichaelLawton/ee27bf4a0f591bed19ac | |
| #Feel free to extend/modify to meet your needs. | |
| #Maya on Ubuntu v.1 | |
| #This is the base installer... I’ll add more features in later versions. | |
| #if you have any issues, feel free email me at heiths@gmail.com | |
| #### Lets run a few checks to make sure things work as expected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # VERY IMPORTANT! After each kernel update or dkms rebuild the modules must be signed again with the script | |
| # ~/.ssl/sign-all-modules.sh | |
| # Place all files in ~/.ssl folder | |
| mkdir ~/.ssl | |
| cd ~/.ssl | |
| # Generate custom keys with openssl | |
| openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -subj "/CN=Owner/" |