Fix uefi key generator.
This commit is contained in:
parent
e303ba23a1
commit
fc7f0b5c75
@ -16,6 +16,11 @@ else
|
|||||||
rm -f KEK-vmpriv.key;
|
rm -f KEK-vmpriv.key;
|
||||||
rm -f KEK-vm.esl;
|
rm -f KEK-vm.esl;
|
||||||
rm -f KEK-vm.auth;
|
rm -f KEK-vm.auth;
|
||||||
|
rm -f db-vm.der;
|
||||||
|
rm -f db-vm.crt;
|
||||||
|
rm -f db-vmpriv.key;
|
||||||
|
rm -f db-vm.esl;
|
||||||
|
rm -f db-vm.auth;
|
||||||
uuidgen --random > PK-GUID;
|
uuidgen --random > PK-GUID;
|
||||||
openssl req -config uefi_pk-openssl.cnf -newkey rsa:2048 -nodes -keyout PK-vmpriv.key -x509 -days 36500 -out PK-vm.crt;
|
openssl req -config uefi_pk-openssl.cnf -newkey rsa:2048 -nodes -keyout PK-vmpriv.key -x509 -days 36500 -out PK-vm.crt;
|
||||||
openssl x509 -in PK-vm.crt -outform der -out PK-vm.der;
|
openssl x509 -in PK-vm.crt -outform der -out PK-vm.der;
|
||||||
|
Loading…
Reference in New Issue
Block a user