intel / intel/confidential-computing.tee.dcap
SGX_QL_NO_PLATFORM_CERT_DATA error return when running the sample "QuoteGenerationSample"
- Dominant language
- C
- Stars
- 326
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
I followed guides in https://software.intel.com/content/www/us/en/develop/articles/intel-software-guard-extensions-data-center-attestation-primitives-quick-install-guide.html and verified the PCCS server is working by either "sqlitebrowser" or "PCKIDRetrievalTool".
All my settings are done on one PC with Intel® Pentium® Silver J5005 Processor.
"
$ cpuid | grep -i sgx
SGX: Software Guard Extensions supported = true
SGX_LC: SGX launch config supported = true
SGX capability (0x12/0):
SGX1 supported = true
SGX2 supported = true
SGX attributes (0x12/1):
SGX EPC enumeration (0x12/n):
SGX: Software Guard Extensions supported = true
SGX_LC: SGX launch config supported = true
SGX capability (0x12/0):
SGX1 supported = true
SGX2 supported = true
SGX attributes (0x12/1):
SGX EPC enumeration (0x12/n):
SGX: Software Guard Extensions supported = true
SGX_LC: SGX launch config supported = true
SGX capability (0x12/0):
SGX1 supported = true
SGX2 supported = true
SGX attributes (0x12/1):
SGX EPC enumeration (0x12/n):
SGX: Software Guard Extensions supported = true
SGX_LC: SGX launch config supported = true
SGX capability (0x12/0):
SGX1 supported = true
SGX2 supported = true
SGX attributes (0x12/1):
SGX EPC enumeration (0x12/n):
"
Then I tried building the tool SGXDataCenterAttestationPrimitives/tools/PCKRetrievalTool manually and it worked as well.
But when I tried the sample code SGXDataCenterAttestationPrimitives/SampleCode/QuoteGenerationSample, it always returned
"
[get_platform_quote_cert_data ../qe_logic.cpp:346] Error returned from the p_sgx_get_quote_config API. 0xe011
Step1: Call sgx_qe_get_target_info:Error in sgx_qe_get_target_info. 0xe011
"
'''0xe011''' it is SGX_QL_NO_PLATFORM_CERT_DATA error.
Anything I missed in this sample?
Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.