Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Testing Remote Attestation with curl

jgnoonan
Beginner
49 Views

I am trying to test remote attestation using curl.  I've generated a quote.dat but when I run the below command, I get the following results:

curl -X POST "https://api.trustedservices.intel.com/sgx/attestation/v4/report" -H "Ocp-Apim-Subscription-Key: <my primary key>" -H "Content-Type: application/json" --data-binary "@quote.dat"

{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."

 

I have subscribed to the following services on my Intel account:

Product Intel® Software Guard Extensions Provisioning Certification Service

Product DEV Intel® Software Guard Extensions Attestation Service (Linkable) subscription

Product Intel® Software Guard Extensions Registration Service subscription

I am using the Primary key from the second service on this list.  What am I doing wrong?

Labels (3)
0 Kudos
0 Replies
Reply