hartkopp / can-isotp

Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol PLEASE NOTE: This module is part of the mainline Linux kernel since version 5.10
Other
245 stars 70 forks source link

sign-file: certs/signing_key.pem: No such file or directory #7

Closed akast closed 6 years ago

akast commented 7 years ago

akast@ubuntu:~/can-isotp$ sudo make modules_install make -C /lib/modules/4.10.0-19-generic/build M=/home/akast/can-isotp modules_install make[1]: Entering directory '/usr/src/linux-headers-4.10.0-19-generic' INSTALL /home/akast/can-isotp/net/can/can-isotp.ko At main.c:158:

hartkopp commented 7 years ago

This is pretty much like this; https://github.com/patjak/bcwc_pcie/issues/70#issuecomment-214289165

Can you still load and run the module?

Don't know about module signing and its effects to out-of-tree modules.

On my machine loading can-isotp only results in: can_isotp: loading out-of-tree module taints kernel. can: isotp protocol (rev 20170725 alpha)

hartkopp commented 6 years ago

Closing due to missing feedback.

AndySchroder commented 4 years ago

I am running ubuntu 18.04 and had the same problem, except the SSL error lines were slightly different. Generating a signing key and putting it in the appropriate certs folder then allowed the module to be signed. If you don't create the signing key, the module can be run from the compilation folder, but I don't think installed.