Skip To Main Content
Support Knowledge Base

Encountered Error: “No Cache Data for This Platform” When Running PCKIDRetrievalTool or Other Remote Attestation Application with Intel® Software Guard Extensions (Intel® SGX) Datacenter Attestation Primitives (DCAP)

Content Type: Error Messages   |   Article ID: 000059239   |   Last Reviewed: 02/24/2023

Description

  1. Set up Intel® Software Guard Extensions (Intel® SGX) Datacenter Attestation Primitives (DCAP) environment
  2. Built and installed Provisioning Certificate Caching Service (PCCS)
  3. Generated pckid_retrieval.csv
  4. Ran PCKIDRetrievalTool or other remote attestation sample
  5. Received error: unexpected error happened during sending data to cache server., however the data couldn't be sent to cache server!
  6. PCCS log file shows: [error]: PCK selection library returned 12 [error]: Error: No cache data for this platform. ... "POST /sgx/certification/v3/platforms HTTP/1.1" 404 32 "-" "-"

Resolution

Update the BIOS on the system to the most recent BIOS available from the OEM to make the trusted computing base current.

Run ls -la /dev/sgx* and observe the output

For local, example output will be:

crw-rw-rw- 1 root root 10, 125 Aug 29 13:38 /dev/sgx_enclave

crw------- 1 root root 10, 126 Aug 29 13:38 /dev/sgx_provision

crw------- 1 root root 10, 124 Aug 29 13:38 /dev/sgx_vepc

For VM, example output will be:

crw-rw-rw- 1 root root 10, 125 Aug 29 13:38 /dev/sgx_enclave

crw------- 1 root root 10, 126 Aug 29 13:38 /dev/sgx_provision

 

For DCsv3 and DCdsv3-series Azure VMs, the Intel certificates can only be fetched from THIM, as it is not possible to make direct calls to Intel service from the VMs

Visit Quickstart: Create Intel SGX VM in Azure Portal for more information.

Additional information

Error 12 originates at the Intel® SGX PCK Cert Selection Library function pck_cert_select, which corresponds to PCK_CERT_SELECT_PCK_NOT_FOUND = 12, /**< Raw TCB is lower than all input PCKs */.