Created
August 6, 2024 08:39
-
-
Save fepitre/7b51288206e26e1a8137050ae8500b67 to your computer and use it in GitHub Desktop.
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 | |
set -ex | |
rm -rf /etc/pki/pesign/* | |
mkdir -p /etc/pki/pesign | |
certutil -d /etc/pki/pesign -N --empty-password | |
efikeygen -d /etc/pki/pesign \ | |
--ca --self-sign \ | |
--nickname='Qubes OS UEFI CA' \ | |
--common-name='CN=Qubes OS UEFI CA,OU=Qubes OS Certification Authority,O=Qubes OS Team,C=FR' \ | |
--url='https://www.qubes-os.org' --serial=00 | |
efikeygen -d /etc/pki/pesign \ | |
--signer='Qubes OS UEFI CA' \ | |
--nickname='Qubes OS UEFI CA' \ | |
--common-name='CN=Qubes OS UEFI CA,OU=Qubes OS Certification Authority,O=Qubes OS Team,C=FR' \ | |
--url='https://www.qubes-os.org' --serial=01 --kernel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment