microsoft / Azure-DCAP-Client

Interfaces between SGX SDKs and the Azure Attestation SGX Certification Cache.
MIT License
60 stars 45 forks source link

Unexpected `SGX_QL_NO_PLATFORM_CERT_DATA` on enclave launch #158

Open jumaffre opened 2 years ago

jumaffre commented 2 years ago

We observed the following error last week creating SGX enclaves in our CI pipeline:

[get_platform_quote_cert_data ../qe_logic.cpp:347] Error returned from the p_sgx_get_quote_config API. 0xe011

2022-04-07T03:09:49+0000.720386Z [(H)ERROR] tid(0x7ffb8fcc8740) | quote3_error_t=SGX_QL_NO_PLATFORM_CERT_DATA

This error, I believe, comes from: https://github.com/microsoft/Azure-DCAP-Client/blob/ddb9b282710ced6291b84c8c8ccc444151ed7da9/src/dcap_provider.cpp#L1134

Additional details here: https://github.com/microsoft/CCF/issues/3747

Would you have any more information on what caused this issue and whether there's anything that recently changed that we need to take into account on our side?

lili8808 commented 1 year ago

@jumaffre I have the same issue on my VM.Did you find the solution?