WIP: Draft: Fix command example in Working_with_Kernel_Modules.adoc #50

Draft
nm004 wants to merge 2 commits from nm004-f38-patch-73395 into f38

View file

@ -549,8 +549,8 @@ EOF
----
~]#{nbsp}openssl req -x509 -new -nodes -utf8 -sha256 -days 36500 \
-batch -config configuration_file.config -outform DER \
-out public_key.der \
-keyout private_key.priv
-out my_signing_key_pub.der \
-keyout my_signing_key.priv
----
. Enroll your public key on all systems where you want to authenticate and load your kernel module.
@ -622,7 +622,7 @@ There are no extra steps required to prepare your kernel module for signing. You
[subs="attributes"]
----
~]#{nbsp}/usr/src/kernels/$(uname -r)/scripts/sign-file \
sha256 \
sha512 \
my_signing_key.priv \
my_signing_key_pub.der \
my_module.ko