diff --git a/uefi_keys_generate_pk.sh b/uefi_keys_generate_pk.sh index 4cabdbc..be37ea3 100755 --- a/uefi_keys_generate_pk.sh +++ b/uefi_keys_generate_pk.sh @@ -16,6 +16,11 @@ else rm -f KEK-vmpriv.key; rm -f KEK-vm.esl; 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; 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;