The kernel will print out the aforementioned kernel message if it isn’t one of the open licenses defined in the kernel. There’s more about tainted kernels here:
There are a variety of reasons why the kernel would be tainted, but in this case it is because a proprietary kernel module was loaded. It doesn’t have anything to do with signed kernel modules or secure boot.