"Loading of unsigned module is rejected"

Hi, I want to install a custom kernel module for the USB Wifi adapter but can’t install the module with error.

Current version:

swupd info
Distribution:      Clear Linux OS
Installed version: 34290

I built the module from source: GitHub - cilynx/rtl88x2bu at 5.8.7.1_35809.20191129_COEX20191120-7777

modinfo 88x2bu
filename:       /lib/modules/5.10.16-1025.native/kernel/drivers/net/88x2bu.ko
version:        v5.8.7.1_35809.20191129_COEX20191120-7777
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     788D7F4DFCA1781C74CBF0E

Unable to install module:

sudo insmod 88x2bu.ko
insmod: ERROR: could not insert module 88x2bu.ko: Key was rejected by service

Dmesg:

[300479.276452] 88x2bu: Loading of unsigned module is rejected

What can I do to install this module? Thanks.

Edit: Solution Add kernel modules manually — Documentation for Clear Linux* project

NVM, I found the guide here: Add kernel modules manually — Documentation for Clear Linux* project

3 Likes