Can not install Nvidia Driver on CentOS. Unable to load the 'nvidia-drm' kernel module

I tried to install the on CentOS 7.9 and CentOS Stream 8. Both have the same issue. I also tried 465.27 and got the same issue. Error: Unable to load the ‘nvidia-drm’ kernel module. The GPU is Quadro P2200 on a dell server. Nouveau has been disabled by changing the grub.cfg. X window is not running. kernel-devel has been installed. I can’t work out what goes wrong.
I’ve attached the error report.
nvidia-bug-report.log.gz (82.1 KB)

Please disable secure boot in BIOS.

Thanks, problem solved. Can I ask why secure boot needs to be disabled?

Because with secure boot enabled the modules must be signed and the signing key must be known to MOK (Machine Owner Key).