ubuntu device driver with secure boot

Created by hyukmin kwon
Keywords:

i'm in the charge of device driver developer, this driver working as part of ubuntu kernel and this kernel version is 22.04 and 5.13.0-35-generic.

when i was complete develop driver and insert to kernel by using "insmod" or "modprobe".

the process of inserting these kernel modules into the kernel works without any problem if my system is not a secure boot.

but if my system work with secure boot, and inserting kernel module into the kernel using "insmod" or "modprobe",

it fail to command with debug message "operation not permitted".

so to do solve this problem, found this url "https://wiki.ubuntu.com/UEFI/SecureBoot" and resolved according to the procedure.

To summarize the explanation , registering the certificate with the my system using "mokutil".

1.certificate create
2.my driver module signing using *.priv
3.regist *.der in system using "mokutil and password"
4.reboot the system
5.bios regist complete using password
6.boot complete
7. my driver load

the problem was occure this in step 5 that "bios regist complete using password"

under normal circumstances this procedure is natural and necessary.

but my case for some reason should be skip the step 5 that registering the certificate on the system bios.

so Is there any way to skip step 5 and load the driver with secure boot enabled system?

From what I've found so far, i think it can be solve that using canonical certificate.

so i can have canonical certificate any way?

i need help of all.

thank you