How to sign OpenZFS module (for secure boot) ?

Hi,

I’ve tried to setup ZFS on my htpc. I’ve followed these instructions to add the repo and install zfs ( https://en.opensuse.org/OpenZFS ) but unfortunately I was not able to load it with modprobe because

modprobe: ERROR: could not insert ‘zfs’: Key was rejected by service

Obviously, this is because I have secure boot on and can’t load unsigned modules. This is related to https://forums.opensuse.org/showthread.php/575236-How-to-Sign-Kernel-Modules-(or-getting-OpenRazer-to-work-with-Secure-Boot) .

I’d really like to avoid having to disable secure boot. How can I sign the module? Thank you

See this one:
https://forums.opensuse.org/showthread.php/560900-Help-on-booting-to-a-5-14-11-kernel-stable-backports-kernel-with-secure-boot-(or-must-I-disable)?p=3073187#post3073187