VBS Enclave Loading issue
VBS Enclave Loading issue
According to the VBS Enclaves development guide, Enclave Dll files in production environments require trusted signatures in order to load successfully:
learn.microsoft.com/en-us/windows/win32/trusted-execution/vbs-en...
We have verified through the trusted signature process in Microsoft Azure and created a Certificate Profile of VBS Enclave type:
learn.microsoft.com/en-us/azure/trusted-signing/quickstart?tabs=...
We downloaded the Microsoft VbsEnclave sample code from GitHub, compiled it, and signed the generated Enclave Dll file with trusted signature:
Then we run the Enclave host application to load Enclave dll by LoadEnclaveImage API, but got ERROR_GEN_FAILURE (0x0000001f,A device attached to the system is not functioning.)error or ERROR_BAD_EXE_FORMAT (0x000000c1, %1 is not a valid Win32 application.)error. Please help to figure out why we got such error here, thanks.