summaryrefslogtreecommitdiffstats
path: root/man/loader.conf.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/loader.conf.xml')
-rw-r--r--man/loader.conf.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/loader.conf.xml b/man/loader.conf.xml
index acddb193d1..7aa1ed7254 100644
--- a/man/loader.conf.xml
+++ b/man/loader.conf.xml
@@ -248,9 +248,9 @@
and <filename>PK.esl</filename>. Note that these files need to be authenticated UEFI variables. See
below for an example of how to generate them from regular X.509 keys.</para>
- <programlisting>uuid=$(systemd-id128 new --)
+ <programlisting>uuid=$(systemd-id128 new --uuid)
for key in PK KEK db; do
- openssl req -new -x509 -subj "/CN=${key}/ -keyout "${key}.key" -out "${key}.crt"
+ openssl req -new -x509 -subj "/CN=${key}/" -keyout "${key}.key" -out "${key}.crt"
openssl x509 -outform DER -in "${key}.crt" -out "${key}.cer"
cert-to-efi-sig-list -g "${uuid}" "${key}.crt" "${key}.tmp"
done