How to Install NVIDIA Driver and CUDA on Rocky 9.1

It will. The dkms – when it runs – generates the “key pair” (aka certificate) automatically. Use mokutil to sign it manually when that has happened.