I had a code signing on kext in Yosemite. But kextload is failed.
It was version2 codesign. codesign --verify
is true.
But kextload is failed. Why not load
I had the same problem too. And I got the solution sharing with you.
Apple changed the Mac Developer Program, and removed certification for kext from it. So even you are member of Mac Developer Program, you will not get certification for kext development unless you request it at Developer ID and Gatekeeper.
BTW, Apples says,
"KEXT signing is intended for signing commercially shipping kexts or projects broadly distributed in a large organization."
So what we can do is run our Kext on the KEXT Development Mode by adding the "kext-dev- mode=1" boot-arg. Like,
sudo nvram boot-args="debug=0x146 kext-dev-mode=1"
And reboot.
I wish this will be helpful for you.