Article ID: 000057991 Content Type: Troubleshooting Last Reviewed: 08/10/2021

Receiving Errors in a Remote Attestation Environment with Intel® Software Guard Extensions (Intel® SGX)

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Tools and methodology to debug Intel® Software Guard Extensions (Intel® SGX) enclaves and the remote attestation flow

Description

Ran sgx-ra-sample, the Remote Attestation sample in the Intel® Software Guard Extensions (Intel® SGX) SDK or custom application, and received errors such as:

  • SGX_ERROR_UNEXPECTED
  • 400: Bad Request Status
  • Other errors

Unable to debug the source code to determine the cause of the error.

Resolution

Linux*:

Windows*:

Remote Attestation flow:

Refer to the Debugging a Remote Attestation Service Provider section in the Developer Reference Guides for a description of how to provide pre-generated messages that can be replayed and verified to debug the message flow.

Additional information

The most recent Intel® Software Guard Extensions (Intel® SGX) Developer Reference Guide for Linux* can be found in the Documentation section of the latest release in Intel® Software Guard Extensions SDK for Linux*.

Related Products

This article applies to 1 products